Maniac Mansion Mania Forum
MMM-Werkzeugkiste => Technik => Thema gestartet von: blount am 11. Februar 2011, 19:51:57
-
Ich will eine Remove Walkable Area entfernen? Ist das möglich? Hintergrund ist das später ein Objekt eingeblendet wird das sonst durch die WalkBehind nur Teilweise zu sehen ist :-)
-
Walk behind oder Walkable Area?
Walkable Area entfernst du mit
[ags]RemoveWalkableArea(5); [/ags]
für Walk behinds gibts:
SetWalkBehindBase
SetWalkBehindBase (int area, int baseline)
Changes the walk-behind AREA to have new BASELINE. This effectively allows you to turn walk-behinds on and off, although you can do other tricks with it as well. BASELINE is from 1 to the height of the room (normally 200) and moves the line which you set originally in the editor.
Passing BASELINE as 0 disables the walk-behind area, so that the player will always walk in front of it.
Basically, if the character's feet are below BASELINE, he will be drawn in front of it, otherwise he will be drawn behind it.
Example:
SetWalkBehindBase (3,0);
will disable the walkbehind area number 3.
-
Also wieder aktivieren?
EnableWalkablearea(x); oder RestoreWalkableArea(x); müsste das gewesen sein (bring das gerne mal durcheinander!).
-
Danke!