Jump to content

Recommended Posts

Posted

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?

Posted
  Branimirzg said:

 

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?

Posted
If you have edited an object, you'd want the edited object's ID. The ID you want is the FormID/EditorID.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...