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?
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?
About the author
Torque Owner Chris "Dark" Evans
You can use a global variable:
$Trigger::Team[%trigger] = 1;
It's not the best solution, but it works.