Hi!
I have some problems in MP playing with
that mission ...
I'm using the "hostage" script, and client players can't make the "release" action scripts work well...
Can someone help me?
here is one of the script to set captive unit:
_hostage = _this select 0
removeAllWeapons _hostage
_hostage setCaptive true
_hostage switchMove "AmovPercMstpSsurWnonDnon"
_hostage setBehaviour "SAFE"
_hostage addAction ["release Karl", "hostages\set_freekarl.sqs"]
_hostage addEventHandler ["killed", {_this exec "hostages\set_dead.sqs"}]
_hostage disableAI "anim"
this one for the release:
_player = leader player
_hostage = _this select 0
?!(alive _hostage):exit
?!(alive _player):exit
_hostage enableAI "anim"
_hostage setCaptive false
_hostage playMove ""
_hostage setBehaviour "COMBAT"
_hostage removeAction 0
_hostage setrank "private"
[_hostage] join group _player
libre=true;
priso=false;
publicVariable "libre";
publicVariable "priso";
exit
The same for a "search" action:
player playMove "AinvPknlMstpSlayWrflDnon_medic";
player removeAction 0;
docupris=true;
docupaspris=false;
publicVariable "docupris";
publicVariable "docupapris";
exit
I have to do the actions (as the server) to have them working good and objectives to be updated
the mission is great (is it?), i wish it could be played online in mp...
Try the mission, tell me what kind of problem you encounter and if you have solutions...
Thanks a lot!!!
Fleepee