Jump to content
Tyl3r99

MP hint to show on 1 side

Recommended Posts

Hey guys Im currently using this script inside of a trigger on-act . 

Quote

if isServer then {["Civillians have reported a group of armed men spotted in the vicinity of Frini"] remoteExec ["hint"];};

However i want to know if there is a way to make it only appear for like independent or blufor so the other team does not see it. 
Edit: We have a GTXgaming gameserver also so it would need to be MP if possible

Any help is appreciated 🙂

Share this post


Link to post
Share on other sites
50 minutes ago, Tyl3r99 said:

if isServer then {["Civillians have reported a group of armed men spotted in the vicinity of Frini"] remoteExec ["hint"];};

 

to send the remoteExec to just one side use the side as second parameter to remoteExec

 

like this:

 

if isServer then {["Civillians have reported a group of armed men spotted in the vicinity of Frini"] remoteExec ["hint", resistance ];};

that sends it only to resistance

Share this post


Link to post
Share on other sites
24 minutes ago, gc8 said:

 

to send the remoteExec to just one side use the side as second parameter to remoteExec

 

like this:

 


if isServer then {["Civillians have reported a group of armed men spotted in the vicinity of Frini"] remoteExec ["hint", resistance ];};

that sends it only to resistance

Are the other .side commands 
"west and east" or is it "blufor and opfor" 

Share this post


Link to post
Share on other sites
10 minutes ago, Tyl3r99 said:

Are the other .side commands 
"west and east" or is it "blufor and opfor" 

 

There's west,east,resistance at least also blufor/opfor should be valid as west/east

 

more info: https://community.bistudio.com/wiki/side

Share this post


Link to post
Share on other sites
On 9/6/2020 at 10:41 AM, gc8 said:

 

to send the remoteExec to just one side use the side as second parameter to remoteExec

 

like this:

 


if isServer then {["Civillians have reported a group of armed men spotted in the vicinity of Frini"] remoteExec ["hint", resistance ];};

that sends it only to resistance

Is it possible to send it to multiple targets at once but not for everyone?

Would it be like this for example?

 

if isServer then {["Civillians have reported a group of armed men spotted in the vicinity of Frini"] remoteExec ["hint", resistance,civilian,west ];};

 

But exclude east?

Share this post


Link to post
Share on other sites

 

I believe you can, with:

 

if isServer then {["Civillians have reported a group of armed men spotted in the vicinity of Frini"] remoteExec ["hint", [resistance,civilian,west] ];};

 

the remoteExec targets should be put in array like in example above

 

the wiki has lot of info regarding this

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

×