Forum Jump :

Author Message


Posts: 1
Rank:


Level: Member

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

 
#1 Posted at 2017-04-19 13:19        
     
Hello everyone.

I am trying to make a small minigames to play with my friends. The gamemode is pretty much the same as battle royal. A FFA arena where you have to kill everyone, and stay in the zone that is shrinking constantly. I got everything working now except for the triggers.

I made 2 script.
"initServer.sqf" = This script creates the markers on the map, displays text and has all the timing in it. Once some time is over it will make a global variable become "true".
"initPlayerLocal.sqf" = This script will wait untill the global variables from "InitServer.sqf" become true. It will then create local triggers on the markers.

I tested this with my friend today, and he doesn't get affected by the triggers. They are not created by him I think.
Do you know how I can make this work?

Scripts:
https://pastebin.com/S5RJ7rce initPlayerLocal.sqf
https://pastebin.com/vrgvGAe7 initServer.sqf

Could anyone please help me out?