RayzeTehaluRmEventsUnit-AnyUnitdiesLocalVariablesConditions(Killingunit)==TehNindjuhghsotActionsUnitGroup-Pickeachunitin(Anyunitsin(Region((Positionof(Triggeringunit)),8.0))ownedbyplayer(Triggeringplayer)matchingExcluded:Missile,Dead,Hidden,withatmostAnyAmount)anddo(Actions)ActionsGeneral-If(Conditions)thendo(Actions)elsedo(Actions)If(Unittypeof(Pickedunit))==Spehhsmuhreensekuritygard(Pickedunit)!=(Triggeringunit)ThenUnit-Order(Pickedunit)to(ScanMovetargeting(Positionof(Triggeringunit)))(ReplaceExistingOrders)General-Waitfor(Conditions),checkingevery0.5GameTimeseconds,fornolongerthan5.0secondsConditions(Distancebetween(Positionof(Pickedunit))and(Positionof(Triggeringunit)))<=1General-If(Conditions)thendo(Actions)elsedo(Actions)If((Pickedunit)isalive)==True(Distancebetween(Positionof(Pickedunit))and(Positionof(Triggeringunit)))<=1Then------- RAYZE TEH ALURMS MEN THARS A SKALLYWEG ON DEKElseElse
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Something like this should work: