Spawn Itmes in Game Problem [message #16021] |
Sat, 20 January 2007 11:22 |
mainblz
Messages: 2 Registered: January 2007
|
|
|
|
Not sure where else to put this on this forum, but i followed a tutorial i found in one of these topics that told me how to spawn items in game, i got both Albion Explorer and Freeroam. I set up the code and everything and even moved to my location of choice on the map. Ive redone the code three times, even tried changeing the position. It wont spawn the Treasure Chest Can someone tell me whats wrong with my code or why it wont spawn in game.
Code:
NewThing Object;
Player 4;
UID 18446766684187468629;
DefinitionType "OBJECT_CHEST_OPENABLE";
ScriptName NULL;
ScriptData "NULL";
ThingGamePersistent FALSE;
ThingLevelPersistent FALSE;
StartCTCPhysicsStandard;
PositionX 171.833000;
PositionY 86.958740;
PositionZ 20.132410;
RHSetForwardX 0.999751;
RHSetForwardY 0.022293;
RHSetForwardZ 0.000000;
RHSetUpX 0.000000;
RHSetUpY 0.000000;
RHSetUpZ 1.000000;
EndCTCPhysicsStandard;
StartCTCTargeted;
Targetable TRUE;
EndCTCTargeted;
StartCTCEditor;
EndCTCEditor;
StartCTCChest;
ContainerContents[0] "OBJECT_HERO_SHIRT_PLATINUM";
ContainerContents[1] "OBJECT_HERO_TROUSERS_PLATINUM";
ContainerContents[2] "OBJECT_HERO_BOOTS_PLATINUM";
ContainerContents[3] "OBJECT_HERO_GLOVES_PLATINUM";
ContainerContents[4] "OBJECT_HERO_HELMET_PLATINUM";
ChestOpen FALSE;
EndCTCChest;
Health 1.0;
EndThing;
Should i try setting the objects to a already in-game treasure chest?
|
|
|