Sign in to follow this  
Followers 0
obermaig

Add Trigger to DMS Missions

1 post in this topic

Hi together.

We have a PvE server, and the environment around the DMS missions are declared as PvP zones (on the map you can see the mark).

I also try to create dynamic triggers with notification for players. For static coordinates on the test server does it work, but  how do I parse the parameters, such as DMS mission position, mission name, and mission status (for removing the trigger when mission ends)? I cant find the public variables for this parameters, or i can do it in DMS Scripts directly? Any Ideas?

i try to use the code for Trigger creating:

Spoiler

private _pvpTrigger = createTrigger["EmptyDetector", _pos];
_pvpTrigger setTriggerArea[600,600,0,false];
_pvpTrigger setTriggerActivation["GUER","PRESENT",true];
_pvpTrigger setTriggerStatements["this && {isplayer vehicle _x}count thislist > 0", "playSound 'Alarm'; hint 'Warning! You entered a PvP Zone!';","playSound 'Alarm';hint 'You leave a PvP Zone!';" ];

 

Share this post


Link to post
Share on other sites
Advertisement

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.