Jump to content

enableEnvironment help

Recommended Posts

Was wondering if it is possible to enableEnvironment false only inside a trigger or marker area. I have had a good look through the scripting commands but couldnt work out how to do it. My scripting knowledge is abit basic atm.



Share this post

Link to post
Share on other sites



you could use a Trigger like this:


Trigger Name:




AnyBody, Present, Repeatable (change to your suiting)


Trigger Condition:

player inArea NoEnvironmentArea


On Activation:

enableEnvironment false;


On Deactivation:

enableEnvironment true;


this however will disable Environment once you enter the Trigger Area but for the whole map

and not just for the Trigger Area but as soon you leave the Trigger Area it will enable Environment again.


note: i dont know how to reduce it only to the Triggerarea.

also take a look at EnableEnvironment



enableEnvironment [ambientLife, ambientSound]

Example 2:

enableEnvironment [false, true];

Share this post

Link to post
Share on other sites

yeah thats how i using it atm. but if an AI walks into the area it all turns off the environment. I need the trigger to activate when ai are in it so they get the effect i have going.


Maybe i will have to change my idea so that the hole island has no environment


Thank you for your reply

Share this post

Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in

Sign In Now