Drop

From GECK
Jump to: navigation, search


A function included in the GECK for Fallout 3.

Description

Calling actor drops the specified item(s) in the world at their feet.

Syntax

[help]
[ActorRefID].Drop ObjectID:ref Count:int

Example

Drop Caps001 2 

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. - Not confirmed for "Health" and "Value".
  • 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