Game Development Community

Not Saving Data

by Xavier "eXoDuS" Amado · in Torque Game Engine · 03/31/2002 (7:52 am) · 2 replies

If you have a trigger object.. and inside its code you save some data, let's say %trigger.team = 1;
If you later save the mission it will save the dynamic field too... meaning that the trigger will always be team 1 after that.
Of course this applies to every object.. just making an example using a trigger.. is there any way to prevent some data from being saved?

#1
03/31/2002 (4:10 pm)
I was running into the same problem :\

You can use a global variable:

$Trigger::Team[%trigger] = 1;

It's not the best solution, but it works.
#2
03/31/2002 (5:24 pm)
mmm... i guess it would be a solution... thanks