Difference between revisions of "Drop"

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
imported>Geckbot
m (Robot: Automated text replacement (-Link to TES4 Construction Set Wiki +{{Incomplete}}\n\nLink to TES4 Construction Set Wiki))
imported>PoHa!
(copied info; removed incomplete tag)
Line 1: Line 1:
{{Incomplete}}
'''Syntax:'''
[''ActorID''.]Drop ''ObjectID'' ''count''
 
'''Example:'''
Drop Caps001 2
 
Calling actor drops the specified item(s) in the world at his/her feet.
 
==Notes==
* While '''set pRef to player.Drop SomeItem 1''' will compile and run, pRef will remain null (00000000) and won't be of any use.
* Does NOT appear to trigger OnDrop blocks when called on the player.
* Item stats (i.e., Health, Charges, Script Variables) are reset as if it's a new item.
* If using to only drop a part of a stack of items, it's unclear ''which'' will be dropped. For instance, if you drop 3 of 5 Baseball Bats, they may be the 3 with the least health, most health, etc.
 
==See Also==
[[DropMe]]


Link to TES4 Construction Set Wiki: [http://cs.elderscrolls.com/constwiki/index.php/Drop Drop].


[[Category:Functions]]
[[Category:Functions]]
[[Category:Object Functions]]
[[Category:Object Functions]]
[[Category:Actor Functions]]
[[Category:Actor Functions]]

Revision as of 16:43, 4 April 2009

Syntax:

[ActorID.]Drop ObjectID count

Example:

Drop Caps001 2

Calling actor drops the specified item(s) in the world at his/her feet.

Notes

  • While set pRef to player.Drop SomeItem 1 will compile and run, pRef will remain null (00000000) and won't be of any use.
  • Does NOT appear to trigger OnDrop blocks when called on the player.
  • Item stats (i.e., Health, Charges, Script Variables) are reset as if it's a new item.
  • If using to only drop a part of a stack of items, it's unclear which will be dropped. For instance, if you drop 3 of 5 Baseball Bats, they may be the 3 with the least health, most health, etc.

See Also

DropMe