Re: Spawning Chests
jwc2200;182174 said:
I assume you added a chest to the Guild since you posted the problem here. If so, open the tng that you edited to add the chest, check the chest script carefully for spaces where they should not be, no spaces where spaces should be, and punctuation. For the game to stop working just upon entering a region, you probably have an error in that script. If you can not find it, copy just the stuff that you added and post it here and maybe someone else will spot the error.
Good luck,
Jason
EDIT: Never mind, I found the problem and fixed it ^^
Everytime I try to enter the guild the game crashes.
This is my first time adding anything to the game so sorry if im being a total nubcake :blush:
Here is the script:
NewThing Object;
Player 4;
UID 18446748924686296151;
DefinitionType "OBJECT_CHEST_OPENABLE";
ScriptName NULL;
ScriptData "NULL";
ThingGamePersistent FALSE;
ThingLevelPersistent FALSE;
StartCTCPhysicsStandard;
PositionX 170.263700;
PositionY 109.554400;
PositionZ -0.191629;
RHSetForwardX 1.000000;
RHSetForwardY 0.000000;
RHSetForwardZ 0.000000;
RHSetUpX 0.000000;
RHSetUpY 0.000000;
RHSetUpZ 1.000000;
EndCTCPhysicsStandard;
StartCTCTargeted;
Targetable TRUE;
EndCTCTargeted;
StartCTCEditor;
EndCTCEditor;
StartCTCChest;
ContainerContents[0] "OBJECT_HERO_BOOTS_PLATINUM";
ContainerContents[1] "OBJECT_HERO_SHIRT_PLATINUM";
ContainerContents[2] "OBJECT_HERO_TROUSERS_PLATINUM";
ContainerContents[3] "OBJECT_HERO_GLOVES_PLATINUM";
ContainerContents[4] "OBJECT_HERO_HELMET_PLATINUM";
ChestOpen FALSE;
EndCTCChest;
Health 1.0;
EndThing;