nap1991 1 Posted March 19, 2012 I'm making a mission with some AI conversation. How do I display groupID of the unit in globalchat instead of just "Blufor" , "Independent", "Civilian"? Moreover, it is possible for me to set name of the unit (not group ID) and use in sidechat? Share this post Link to post Share on other sites
PELHAM 10 Posted March 19, 2012 (edited) Display groupID of group leader: unit init: grp2 = group this; this setGroupId ["ALPHA"]; _grp2ldr = leader grp2; _grp2ldr globalChat format ["%1 hello over?", _grp2ldr]; returns: BLUFOR: "B ALPHA:1 HELLO OVER?" Display Name of unit named Enemy_Leader: _String = vehicleVarName Enemy_Leader; Enemy_Leader globalChat format ["%1: hello infidel?", _String]; returns: OPFOR: "ENEMY_LEADER: HELLO INFIDEL?" Edited March 19, 2012 by PELHAM Share this post Link to post Share on other sites
nap1991 1 Posted March 21, 2012 Thanks,,will try it later :) Share this post Link to post Share on other sites