Yeah I understand that part of the persistants, but what excatly do they tell the game to do?
Like does ThingGamePersistent TRUE/FALSE tell it to save with the save game? And does ThingLevelPersistent TRUE/FALSE tell it to just stick around while you're in that zone?
For instance, I based all my chests off of the Guild Demon Door Chest, and it's got FALSE/FALSE for both of those, yet when I set my chests to FALSE/FALSE they are respawning each time I zone into the area.
This is why I'm confused.
Here's the code for one of the chests:
NewThing Object;
Player 4;
UID 18446741726154422185;
DefinitionType "OBJECT_CHEST_OPENABLE";
ScriptName NULL;
ScriptData "NULL";
ThingGamePersistent FALSE;
ThingLevelPersistent FALSE;
StartCTCPhysicsStandard;
PositionX 30.131350;
PositionY 38.436280;
PositionZ 3.027054;
RHSetForwardX 0.000000;
RHSetForwardY -1.000000;
RHSetForwardZ 0.000000;
RHSetUpX 0.000000;
RHSetUpY 0.000000;
RHSetUpZ 1.000000;
EndCTCPhysicsStandard;
StartCTCTargeted;
Targetable TRUE;
EndCTCTargeted;
StartCTCEditor;
EndCTCEditor;
StartCTCChest;
ContainerContents[0] "OBJECT_GOLD_1000000";
ContainerContents[1] "OBJECT_HERO_TITLE_RUNEMASTER";
ContainerContents[2] "OBJECT_SWORD_OF_STRENGTH";
ChestOpen FALSE;
EndCTCChest;
Health 1.0;
EndThing;
And for the chest that the game has already there
NewThing Object;
Player 4;
UID 18446741874686296067;
DefinitionType "OBJECT_CHEST_OPENABLE";
ScriptName NULL;
ScriptData "NULL";
ThingGamePersistent FALSE;
ThingLevelPersistent FALSE;
StartCTCPhysicsStandard;
PositionX 40.078613;
PositionY 22.092041;
PositionZ 5.0;
RHSetForwardX 0.0;
RHSetForwardY 0.999994;
RHSetForwardZ 0.0;
RHSetUpX 0.0;
RHSetUpY 0.0;
RHSetUpZ 0.999994;
EndCTCPhysicsStandard;
StartCTCTargeted;
Targetable TRUE;
EndCTCTargeted;
StartCTCEditor;
EndCTCEditor;
StartCTCChest;
ContainerContents[0] "OBJECT_SUPER_HEALTH_POTION";
ChestOpen FALSE;
EndCTCChest;
Health 1.0;
EndThing;
To me they look exactly the same and should behave the same, but mine constantly respawns. Any help is appreciated.
[Updated on: Sun, 16 September 2007 10:44]
Report message to a moderator