PlaceAtMe

Revision as of 10:39, 1 March 2006 by imported>Maturin
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Syntax:

PlaceAtMe ItemID, count, distance, direction 

Example:

PlaceAtMe Ninja Man, 1, 256, 1 


Places the object at the calling object, in the direction you specify and the distance. If that location is not safe (in the air, in a wall, etc), the object will be placed at one of the other axes or at the object's exact location.

Direction is:

0 = front
1 = back
2 = left
3 = right


This function can be used with leveled lists as well (leveled creatures or items).