/* Author: Djeeberjr Description: Init a zeus player. Parameter(s): 0: OBJECT - the unit 1: STRING - Conversation to play (.bikb) 2 (optonal) : CODE - code called when started (local to caller) https://community.bistudio.com/wiki/kbAddTopic for the eventhandler */ params ["_unit","_voiceline","_cb"]; //TODO: img locationPosition _unit addAction ["",{ params ["_target", "_caller", "_actionId", "_arguments"]; _voiceline = _arguments select 0; _cb = _arguments select 1; [_target,"npc_talk","conversations.bikb","",_cb] remoteExec ["kbAddTopic"]; [_target,_caller,"npc_talk",_voiceline,"DIRECT"] remoteExec ["kbTell"]; [_target,_actionId] remoteExec ["removeAction"]; },[_voiceline,_cb],true,true,"","true",3];