snkman 351 Posted April 24, 2007 Hey Guy's, well i found a really funny Script for OFP but it look's like it doesn't work in ArmA. init of the Soldiers: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">this AddEventHandler [ "dammaged", { _this exec "hit.sqs" } ]; hit.sqs: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">_treffer = _This Select 1 ? _treffer == "hlava" : goto "hs" exit #hs PlaySound "hs" hint " H E A D S H O T" exit Now "hlava" is the bodypart "Head" and so far i found this: ArmA: Selection Translations There you can see "hlava" is still used in ArmA or am i totally wrong...? Share this post Link to post Share on other sites
HqPL 0 Posted April 24, 2007 im not sure but you can always 'debbug' with hintC format command. _treffer = _This Select 1 hintC format ["Target has been hit in : %1", _treffer]; Probably youre looking for 'head_hit'. So we have 4 bodyparts ? -head_hit -legs -hands -body ? Share this post Link to post Share on other sites
Blanco 0 Posted April 24, 2007 It's "legs", "arms", "head" and "body" : Share this post Link to post Share on other sites
snkman 351 Posted April 24, 2007 im not sure but you can always 'debbug' with hintC format command._treffer = _This Select 1 hintC format ["Target has been hit in : %1", _treffer]; Probably youre looking for 'head_hit'. Yes "head_hit" works. THX pal. Share this post Link to post Share on other sites
HqPL 0 Posted April 25, 2007 no problem, btw it was useful not only for U or me but it was useful for whole community Share this post Link to post Share on other sites