Jump to content
Sign in to follow this  
1para{god-father}

Civilian Module On / OFF

Recommended Posts

I have the Civilian Module placed on the Map but would like to know how I can issue a call to turn it off and on is that possible ?

I.e from my Description I can change weather, revives etc..

       	class Civili
{
               title = "Civilains";
               values[] = {On,Off};     ??????
               texts[] = {"On","Off"};
               default = 0;
};

Is there a way to call this Module ?

Share this post


Link to post
Share on other sites

You could maybe set its condition of presence to something like:

(paramsArray select [color="Red"]0[/color] == 1)

And in the description.ext you could have

// Other params up here
class AmbCivil
{
   title = "Ambient Civilains";
   values[] = {1,0};
   texts[] = {"On","Off"};
   default = 1;
};

Just remember to change the condition of presence to point to the correct element in the params array (WILL ONLY WORK IN MP)

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
Sign in to follow this  

×