Frictional Games Forum

Full Version: Need easy help with scripting
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I want to make object, like knights, move from one place to another. How I go about doing that is I make the knight appear in different places which I have down. The problem is I don't know how to make the "moved" knights disappear, so I end up with way more than I should. Can someone help me make a script that makes entities such as knights disappear?
Use this:
Code:
SetEntityActive("knightnamehere", false);

This will make the knight, or any other sort of entity for that matter, disappear. If you need to work it the other way around, change "false" to "true", and your assigned entity will be visible.

Mess around with the "true", and "false" settings to achieve the illusion of moving knights.
Thank you that works perfectly