Since addAction is all local, I went looking how to get it working in multiplayer and found some stuff about MP Framework and public variables.
Trigger #1 Activation:
hello.sqf
Trigger #2 Condition:
I realize in case the leader dies after getting the action and before activating, this goes fubar, but for a start, will this work?
Trigger #1 Activation:
Quote:_myaction = (leader grpname) addAction ["Hello", "hello.sqf"]
hello.sqf
Quote:(leader grpname) removeAction _myaction;
publicVariable "myvarName"; myvarName=true;
Trigger #2 Condition:
Quote:myvarName
I realize in case the leader dies after getting the action and before activating, this goes fubar, but for a start, will this work?