Search the Community
Showing results for tags 'BIS_fnc_MP'.
Found 2 results
-
A better explanation of BIS_fnc_MP and remoteExec, please?
Lucky44 posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
I have a decent understanding of locality. And I've read the Biki pages on BIS_fnc_MP and remoteExec. I understand that remoteExec is the newer, preferred approach, but that the other still works too. But I have not been able to wrap my head around the syntax/usage of either of these. So I'm asking for someone who really does understand them to expand on what the Biki has and explain the usage -not just syntax, but how to use it in different situations. A variety of examples (and why it's done the way it's done in each example, and the effects of the variations) would be awesome. Anyone able to do this? It'd be a real benefit to all of us who make multiplayer missions!- 9 replies
-
- remoteExec
- BIS_fnc_MP
-
(and 3 more)
Tagged with:
-
[SOLVED] Make local EventHandler global
Faron posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
Dear Community, I'm trying to trigger an effect for a vehicle when it's hit by a flare (kind of a superman EMP flare). The only function that triggers when a vehicle is hit by a flare is the "HitPart" eventhandler. Unfortunely this only works local, but I'd really like the engine to break for every client! I already tried adding the following lines in the function that spawns the vehicle: [[_vehicle, {_this addEventHandler ["HitPart", {_this call life_fnc_handleVehDamage}]}], "BIS_fnc_spawn", true, true] spawn BIS_fnc_MP; [[_vehicle, {_this addEventHandler ["HitPart", {_this call life_fnc_handleVehDamage}]}], "BIS_fnc_call", true, true] call BIS_fnc_MP; Created a file that adds the eventhandler: [[_vehicle], "life_fnc_addVehEH", true, true, false] call BIS_fnc_MP; [_vehicle] remoteExec ["life_fnc_addVehEH", 0, true]; Neither client log nor server log are showing any errors. None of these does work... Do you have any suggestions or see any mistakes? I'd appreciate it! Cheers, Faron- 28 replies
-
- 1
-
- eventhandler
- addeventhandler
-
(and 1 more)
Tagged with: