Gameer maybe you are right, actually I never used rating before... all the 2 years of OFP and no rating.![]()
Anyway, if anyone knows for sure what friendly and enemy are used for, let us know. (probably simple)
The eventHandler question I should not have asked that way, let me ask one of the developers like Suma: If I install an eventHandler "hit" on (T72) and inside do </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE">?!(canMove _vehicle):_vehicle removeAllEventHandlers "getIn";_vehicle removeAllEventHandlers "Hit";[_vehType] exec "removeEastUnit.sqs";hint format ["VEHICLE DESTROYED\nvehicle %1\noffender %2\namount %3",_vehicle,_by,_amount];[/QUOTE]<span id='postcolor'>
Is there any chance of another "hit" event being triggered even if the vehicle can not move? I seem to have this problem, sometimes 2 hits are processed for the vehicle when the first hit already removes all Handlers.
HOME 
Reply With Quote




