i can't resolve a problem
class SoldierEB : CAManBase
{
scope = 2;
side = 0;
displayName = "$STR_DN_RIFLEMAN";
model = "\ca\characters\np_soldier_b";..... etc
i want to dynamic change parameter $STR_DN_RIFLEMAN "on the fly"
in stringtable.csv i wrote:
LANGUAGE,English
STR_DN_RIFLEMAN,%1
need to make this "%1" value, depending from weapon in unit hands.
Example:
if unit not have weapon in hands, this %1 value always should be "NOWEAPON"
if unit have in hands M4, value always should be "WEAPON1"
if unit have in hands M4GL, value always should be "WEAPON2"
e.t.c
any idea how to make it?