Fable: The Lost Chapters Mod Scene
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Fable TLC » Discussion » Level Scripting » Spawning Items without chests/barrels/ect.
Spawning Items without chests/barrels/ect. [message #22654] Thu, 26 July 2007 11:24 Go to previous message
morerunes is currently offline  morerunes
Messages: 2154
Registered: June 2007
Location: My desk

Administrator

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

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: It worked once.
Next Topic: Triggure on death?
Goto Forum:
  


Current Time: Fri Apr 19 05:44:13 PDT 2024

Total time taken to generate the page: 0.01362 seconds