virtualinfantry 10 Posted July 14, 2013 this works great in editor... will not work in multiplayer.. any clues? The script works fine and the scoring in editor... just wont issue the globalchat command to server when in multiplayer score.sqf _target = _this select 0; _killer = _this select 1; _damage = _this select 2; _score = _this select 3; _killer addScore _score; _killer globalChat format ["Tango Down! Scored %1 points for hitting target %2 for %3 damage", _score, _target, _damage]; Share this post Link to post Share on other sites
kylania 568 Posted July 14, 2013 All the "chats" are local and would need to be executed on each client for them to see. Share this post Link to post Share on other sites
virtualinfantry 10 Posted July 14, 2013 so what does one use and why is it named Global? :D Share this post Link to post Share on other sites
kylania 568 Posted July 14, 2013 It's the "Global" channel, but it's not broadcast to other players. Something like this: init.sqf: TAG_fnc_mpGlobalChat = { (_this select 0) globalChat (_this select 1); }; Then: _target = _this select 0; _killer = _this select 1; _damage = _this select 2; _score = _this select 3; _killer addScore _score; _msg = format ["Tango Down! Scored %1 points for hitting target %2 for %3 damage", _score, _target, _damage]; [[_killer, _msg], "TAG_fnc_mpGlobalChat"] spawn BIS_fnc_MP; Share this post Link to post Share on other sites
virtualinfantry 10 Posted July 14, 2013 Thanks, will give it a try in a bit... Have to run out real quick... Why is something so trivial, so cryptic to figure out? I don't think any "scripter" would be able to accomplish such task. :D Share this post Link to post Share on other sites