behind walkable area problem

Started by Rocco, Mon 19/04/2004 16:34:31

Previous topic - Next topic

Rocco

i have a parking meter as walk behind area.
and after paying i would turn an object on in front off the meter, but cant see it.

Darth Mandarb

SetObjectIgnoreWalkbehinds

SetObjectIgnoreWalkbehinds (int object, int ignore)

Sets whether object OBJECT is affected by walkbehind areas. Passing 0 (the default setting) means that the object will be placed behind walk-behind areas according to the relevant baselines. Passing 1 means that the object will never be placed behind a walk-behind area. This is useful if for example you want an object to be a picture on a wall, and the wall can be walked behind - but you also want it to act correctly in relation to characters, so changing its baseline wouldn't work.

Example:

SetObjectIgnoreWalkbehinds (1,1);

will make object 1 ignore walk behinds.

Rocco


SMF spam blocked by CleanTalk