Spawning Items without chests/barrels/ect. [message #22654] |
Thu, 26 July 2007 11:24 |
|
How do I spawn a potion or food in on the ground, the closest I've managed was getting it there, and when you tried to pick it up it said something, then I tried another script and it was there, but you couldn't target it. You just walked through it. I swear I looked all over for an answer, even in the wiki.
here is the script i used
Quote: | NewThing Object;
Player 4;
UID 18446741487466297160;
DefinitionType "OBJECT_ROMULAN_ALE";
ScriptName NULL;
ScriptData "NULL";
ThingGamePersistent TRUE;
ThingLevelPersistent TRUE;
StartCTCPhysicsStandard;
PositionX 57.428710;
PositionY 48.285640;
PositionZ 28.000000;
RHSetForwardX 0.406747;
RHSetForwardY 0.913541;
RHSetForwardZ 0.000000;
RHSetUpX 0.000000;
RHSetUpY 0.000000;
RHSetUpZ 1.000000;
EndCTCPhysicsStandard;
StartCTCTargeted;
Targetable TRUE;
EndCTCTargeted;
StartCTCInventoryItem;
InventoryUID 0;
EndCTCInventoryItem;
StartCTCEditor;
EndCTCEditor;
StartCTCStockItem;
ForSale FALSE;
Stealable TRUE;
Price 1000;
EndCTCStockItem;
Health 1.0;
EndThing;
|
"All of the work, and none of the play, will surely provide for a speedy decay"
[Updated on: Thu, 26 July 2007 11:46] Report message to a moderator
|
|
|