Cobalt1 Posted November 24, 2009 Posted November 24, 2009 In my script, i need a model to spawn in the world and be placed at the persons feet. Now i know it can be done via MoveTo but how do i get the model to spawn in the first place? One idea i had was to give it to the player, have the player drop it, and then use MoveTo, but that didn't work, unsure why. Any ideas?
Cobalt1 Posted November 24, 2009 Author Posted November 24, 2009 Branimirzg said: PlaceAtMe Thanks. The syntax says:[Object].PlaceAtMe ObjectID:ref Count:int Distance:float Direction:int{0, 1, 2, 3} but what does "ObjectID" stand for? obviously my object's ID, but i mean is that the "reference editor ID" when i edit an object? or the Base Object's ID?
csb Posted November 25, 2009 Posted November 25, 2009 If you have edited an object, you'd want the edited object's ID. The ID you want is the FormID/EditorID.
Recommended Posts