Posts from Current questions and answers regarding the map editor.
Auto-translated
1. How do I delete the "StoneRoad" path?
2. How do I create a script?
3. How do I create an animation, for example, a "killed" animation?
4. How do I make a creature on the map inactive so that it cannot be attacked?
2. In the properties tree, find "map script." Create a new script. Or, go to the general properties of the map, find the "script" tab, and click "edit script." It may lag and crash.
3, 4: Using scripts.
3. In the script, enter:
PlayObjectAnimation("creature name", "death", ONESHOT_STILL);In the editor, place the creature, find its name in the list on the right, and give it any name. Then, insert the above line into the script, replacing "creature name" with the name you assigned to it. (Don't forget the quotes).
There are many other animations; they are listed in the scripting manual.
4. Insert into the script:
SetObjectEnabled('name', nil)Similarly, I explained above what to write instead of "name."
You can find the scripting manuals in the game folder, in a folder called "Editor Documentation."
__________________________________
nginx/0.8.54
__________________________________
nginx/0.8.54