Ford555 1 Posted December 31, 2012 i was searching in google but i cant understand it. i have create a mission (for operation arrowhead) which works perfectly in single player and if i am the server too, but it doesnt work in dedicated server :(. i have read a lot of forums, bistudio wiki, etc... but i dont understand if i need use addeventhandler, addMpEventHandler, BI functions modules, etc.. :(. for instance: from game editor: i have an object (a portatil), and in init i write: turnonportatil = this addAction ["call heli", "portatil.sqf"]; in portatil.sqf i write publicVariable "callHeli"; callHeli = true; and i have a trigger in which condition i have: !isNil "callHeli" an in the on activate: hint "ok i go"; it works in SP, but not in dedicated server. I know addAction dont send to the others computers the result, then.... how i can do that? thank you and sorry about my English, everything is writen in english and its difficult for me :( Share this post Link to post Share on other sites
samatra 85 Posted December 31, 2012 http://community.bistudio.com/wiki/Multiplayer_framework https://www.google.com/search?q=rAddAction+site:forums.bistudio.com Share this post Link to post Share on other sites
Ford555 1 Posted December 31, 2012 (edited) yes!, this is what i needed! thank you man. i saw this link before but i didnt really saw it was the solution. thanks! ---------- Post added at 17:18 ---------- Previous post was at 15:46 ---------- but still dont working :( in game editor i have an empty object called portatil with init empty in init.sqf: waitUntil{!(isNil "BIS_MPF_InitDone")}; [player,portatil,"loc" + "per",rADDACTION,"Llamar al helicoptero","portatil.sqf",[portatil,player,1]] call RE; and in portatil.sqf: _array = _this select 1;//i tried with 0 also _portatil_activo = _array select 0; _playeractivador = _array select 1; _actionId = _array select 2; _portatil_activo setVariable ["llamaHeli",true,true]; } and i have a trigger with condition: !isNil "llamaHeli" on act: hint "Recibido, llegare lo antes posible. aguantad!!"; but the trigger doesnt work, i think i dont know get params sended... :( ---------- Post added at 18:21 ---------- Previous post was at 17:18 ---------- i cant understand, its too difficult because it works perfect in SP, but for it works in MP it has not work in SP¿?¿?¿? Edited December 31, 2012 by Ford555 Share this post Link to post Share on other sites