Albion Exsplore minor prob. [message #42653] |
Sun, 15 June 2008 09:37 |
Great Kou
Messages: 11 Registered: June 2008
|
|
|
|
Ok I spawned a chest I gave it a unique 20 digit (UID)
But for some reason I'm not seeing it in the game the AE still shows it.
I did as follows on the Script
NewThing Object;
Player 4;
UID 19992009876543212345;
DefinitionType "OBJECT_CHEST_OPENABLE";
ScriptName NULL;
ScriptData "NULL";
ThingGamePersistent FALSE;
ThingLevelPersistent FALSE;
StartCTCPhysicsStandard;
PositionX 87.199950;
PositionY 79.200200;
PositionZ 39.624530;
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_SHIRT_JACK";
ContainerContents[1]"OBJECT_HERO_BOOTS_JACK";
ContainerContents[2]"OBJECT_HERO_TROUSERS_JACK";
ContainerContents[3]"OBJECT_HERO_JOB_MASK";
ContainerContents[4]"OBJECT_GOLD_1000000";
ChestOpen FALSE;
EndCTCChest;
Health 1.0;
EndThing;
|
|
|
|
|
Re: Albion Exsplore minor prob. [message #42656 is a reply to message #42653] |
Sun, 15 June 2008 10:00 |
|
Raziel
Messages: 109 Registered: May 2008
|
|
|
|
You have written it so:
ContainerContents[0]"OBJECT_SOMETHING";
but you have to write it so:
ContainerContents[0] "OBJECT_SOMETHING";
between the [0] and the " has to be a free space.
|
|
|
Re: Albion Exsplore minor prob. [message #42657 is a reply to message #42653] |
Sun, 15 June 2008 10:04 |
Great Kou
Messages: 11 Registered: June 2008
|
|
|
|
So this is what it should be correct?
ContainerContents[0] " OBJECT_HERO_SHIRT_JACK ";
ContainerContents[1] " OBJECT_HERO_BOOTS_JACK ";
ContainerContents[2] " OBJECT_HERO_TROUSERS_JACK ";
ContainerContents[3] " OBJECT_HERO_JOB_MASK ";
ContainerContents[4] " OBJECT_GOLD_1000000 ";
|
|
|
|
|