Difference between revisions of "DropAllItems"
Easier way to do the top one
imported>Qazaaq m (functions won't accept anything but a number or a variable as argument) |
imported>Haama (Easier way to do the top one) |
||
Line 6: | Line 6: | ||
ref CurObj | ref CurObj | ||
short CurObjNum | short CurObjNum | ||
float fquestdelaytime | float fquestdelaytime | ||
Line 15: | Line 14: | ||
if DropAllItems | if DropAllItems | ||
if ActorRef | if ActorRef | ||
set CurObj to ActorRef.GetInventoryObject 0 | |||
if CurObj | |||
set CurObjNum to ActorRef.GetItemCount CurObj | set CurObjNum to ActorRef.GetItemCount CurObj | ||
ActorRef.Drop CurObj CurObjNum | ActorRef.Drop CurObj CurObjNum |