Jump to content

Recommended Posts

Hi, new to scripting don't blame this pls :P

On trigger activation this = execVM "startBriefing" So this will start the cutscene.

cutText ["", "BLACK FADED"];

[0,0,false] spawn BIS_fnc_cinemaBorder;

sleep 2; titleCut ["", "BLACK IN", 10];

alexander setDir (alexander getDir briefingAlex);

alexander switchMove "Hubspectator_walk";

Everything works. But the problem is that every one gets the "Black Faded" and the "cinematic borders" How do I make it that a specific player (the one who triggers) gets the cut scene.

 

I hope you can help me!

 

Alexander (UltraBrain)

Share this post


Link to post
Share on other sites

Haven't tested this,  but you can check if 'player' is in 'thislist' in the Trigger activation and execute the script only for players within the trigger. The effects of the script seem to be local only anyway.

 

Sample code for the trigger activation field:

if (player in thisList) then {
  [] execVM "startBriefing";
};

You can read upon thisList in https://community.bistudio.com/wiki/Eden_Editor:_Trigger and https://community.bistudio.com/wiki/2D_Editor:_Triggers 

 

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

×