hay folks, me again....got now a little more familiar with the createunit command...but one thing still doesnt work for me and i didn't found any topic in this forum that could help me out...ok, here it comes:
i have the following line in my script which works fine:
"SoldierESniper" CreateUnit [GetMarkerPos _pos, _group, "", 0.9, "CAPTAIN"]
no prob to this point...but now i would like to put some in the init field of this unit and imo this should look like this:
"SoldierESniper" CreateUnit [GetMarkerPos _pos, _group, "this addeventhandler ["killed", {_this exec "dead.sqs"}]", 0.9, "CAPTAIN"]
for some reasons it wont work...is the syntax for init field diff for a createunit created soldier?...didn't found an answer...all other things i saw in this forum just used the position and group function...
would be nice if someone could check what i did wrong..