Difference between revisions of "PlaceAtMe"

Jump to navigation Jump to search
445 bytes removed ,  07:25, 20 March 2008
→‎Console Use: removing section - true of every function, does not belong here
imported>DragoonWraith
imported>DragoonWraith
(→‎Console Use: removing section - true of every function, does not belong here)
Line 47: Line 47:
pItem.Activate player ;this adds the bow to the player</pre>
pItem.Activate player ;this adds the bow to the player</pre>
that item's script may not run. Wait a frame, especially if using Activate.
that item's script may not run. Wait a frame, especially if using Activate.
==Console Use==
When using PlaceAtMe with the console, you must use the desired item's [[FormID]], not the EditorID.
So, instead of using
player.PlaceAtMe lockpick 1, 256, 0
to give yourself a lockpick, you must use
player.PlaceAtMe 00000A 1, 256, 0
The [[FormID]] can be found on the tab just to the right of the EditorID tab in the Construction Set. This is true for all items and actors, although the FormID tab may need to be enlarged.


[[Category: Functions]]
[[Category: Functions]]

Navigation menu