DropObject - ObjectReference: Difference between revisions

→‎Notes: Dropped items stack
imported>Scornett
m (Reverted edits by Scornett-Bot (talk) to last revision by Rhavlovick)
 
imported>Cipscis
(→‎Notes: Dropped items stack)
Line 29: Line 29:
Game.GetPlayer().DropObject(ArrowProperty, 100)
Game.GetPlayer().DropObject(ArrowProperty, 100)
</source>
</source>
== Notes ==
* If a number greater than 1 is used for aiCount, the objects dropped will be stacked. In order to drop individual items, DropObject must be called for each instance of the item.


== See Also ==
== See Also ==
*[[ObjectReference Script]]
*[[ObjectReference Script]]
Anonymous user