Forum Jump :

Author Message


Posts: 28
Rank:


Level: Member

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

 
#1 Posted at 2016-01-18 02:15        
     
I have a mission which starts off with the player on/in a BTR-80 (rhs). The mission starts off with cinema borders and i am trying to get it so when the player disembarks the cinema borders end. i have a vehicle named BTR_1 and this in my init
[0, 0] spawn BIS_fnc_cinemaBorder;
showHUD false ;

titleText ["Gearing up", "BLACK FADED", 15];

    sleep 16;
["Pvt Rostov", "On way to Lakka", "Операция Пересдача"] call IOT_fnc_missiontile;
titleText ["", "BLACK IN", 7.5];

waitUntil (trig1);
{[1, 1] spawn BIS_fnc_cinemaBorder;
showHUD true;}
with trig1 condition being
!(player in BTR_1)
any suggestions as to how i can get rid of cinema borders when player disembarks?
Just incase it matters th player started in the vehicle with the moveInCargo command.

Added 3 minutes later:

Didn't mean to double post i don't know how i done that.

Added 1 hour 10 minutes later:

After about an hour of trying i found the problem. i changed
[0, 0] spawn BIS_fnc_cinemaBorder;
showHUD false ;

titleText ["Gearing up", "BLACK FADED", 15];

    sleep 16;
["Pvt Rostov", "On way to Lakka", "Операция Пересдача"] call IOT_fnc_missiontile;
titleText ["", "BLACK IN", 7.5];

waitUntil (trig1);
{[1, 1] spawn BIS_fnc_cinemaBorder;
showHUD true;}
into
[0, 0] spawn BIS_fnc_cinemaBorder;
showHUD false ;

titleText ["Gearing up", "BLACK FADED", 15];

    sleep 16;
["Pvt Rostov", "On way to Lakka", "Операция Пересдача"] call IOT_fnc_missiontile;
titleText ["", "BLACK IN", 7.5];

waitUntil {triggeractivated trig1};
[1, 1] spawn BIS_fnc_cinemaBorder;
showHUD true;

Added 22 seconds later:

Just syntax errors, nothing more

This post was edited by Joshua100801 (2016-01-18 03:29, 1036 days ago)


Author Message


Posts: 1589
Rank:


Level: Member

Country: pf
Location: Tahiti
Occupation: too many Arma
Age: 58
In-game name: Kobayashi Maru

 
#2 Posted at 2016-01-18 16:51        
     
Thank you for having posted with your solution.

PLEASE CONTACT ME ON BI FORUMS FOR ANY SCRIPT / MOD QUESTION. TKS