Forum Jump :

Author Message


Posts: 3
Rank:


Level: Member

Country: us
Location:
Occupation:
Age:
In-game name:

 
#1 Posted at 2018-04-09 02:53        
     
I have a MP mission I've been creating that my friend and I play. I have supports one of which is transport via helos. I'd like to add in an optional mission that populates if an AI gets shot down. I have seen it in other missions I play. Basically, the crew is shot down, you're assigned to rescue, and when a player gets close, the downed crew(if alive) is added to your squad. How do I do that?



Also, is there a simple way to have a choice in game to change the time? We've played terrorist hunt scenarios where we go up to a briefing board and click change time. We'd just like to be able to switch from day to night. So we can do one task during the day and maybe RTB and switch to night for the next.



Thanks,

Matt


Author Message


Posts: 151
Rank:


Level: Member

Country: us
Location: Pennsylvania
Occupation:
Age:
In-game name: Xian

 
#2 Posted at 2018-04-09 13:41        
     
For the time of day, you can do the following on any item really:

this addAction ["Change Day/Night",{skipTime 12}];

or for a little added flavor:
this addAction ["Change Day/Night",{titleText ["Several Hours Later..", "BLACK OUT", 2];sleep 4;skipTime 12;titleText ["", "BLACK IN", 2];}];

Although, it may need to be used with remoteExec or something similar if you are playing with a friend. I don't believe the skiptime will be MP friendly