Game Development Community

1.7.3 beta - actionmap.save() impossible

by DragonSix · in Torque Game Builder · 04/29/2008 (1:39 am) · 5 replies

Take an actionmap, any actionmap (say movemap or globalactionmap for instance), and try
movemap.save("bleh.cfg");
It will fail to save no matter what.
Unable to open file 'bleh.cfg' for writing.

#1
04/30/2008 (8:46 am)
I'll look at this one for you shortly Benjamin.

I remember you reporting this previously, not sure why it didn't get any attention.

Melv.
#2
05/01/2008 (12:16 am)
I can see why it isn't working but the solution is a little deeper than at first appears. It's related to changes made to the constraints on where the toolset and distributed application can write to.

It is being dealt with.

Melv.
#3
05/01/2008 (12:47 pm)
This has been corrected in the repository. The problem affected the following objects all of which now work correctly:

FileObject
SimXMLDocument
ActionMap
t2dImageMapDatablock ("$pref::T2D::imageMapDumpTextures")
t2dParticleEffect
t2dParticleEmitter
t2dSceneGraph
t2dSceneObject
t2dTileMap
t2dTileLayer

Thanks for the help.

Melv.
#4
05/01/2008 (1:05 pm)
Thanks Melv ^^
#5
05/01/2008 (1:07 pm)
You're most welcome.

I should've posted this before but the reference to this problem is "TGB-75" and the repository revision is "[16x]#8907".

Thanks again.

melv.