Trigger0
starting yes
looping:yes
Bring object to object: man-at-arms to wolf
Bring object to object: wolf to man-at-arms
Object has target: man-at-arms target wolf
Object has target: wolf target man-at-arms
Activate: attacked by wolf
these 4 conditions check if you are attacked by a wolf if you are a man-at-arms. to detect that if you are a wold and you are attacked by a man-at-arms you need to do this:
Bring object to object: wolf to man-at-arms
Bring object to object: man-at-arms to wolf
Object has target: wolf target man-at-arms
Object has target: man-at-arms target wolf
Activate: attacked by man-at-arms
After you have detected the attack. You like to have a warning coming up. But you don't want the warring to spam the whole screen. So add a timer, which is very rough said:
15 sec and then deactivate the trigger to show the message.
This looks like this:
Trigger0 Attacked by wolf
starting off
looping yes
timer: 15
Send chat: You are attacked by a wolf!
activate Deactivate attack message
Trigger1 Attacked by man-at-arms
starting off
looping yes
timer: 15
Send chat: You are attacked by a man-at-arms!
activate Deactivate attack message
Trigger2 Deactivate attack message
starting off
looping off
deactivate attacked by wolf
deactivate attacked by man-at-arms
This will easily give warrings if you are attacked.
But how can i then detect IF im reall sure damaged through such attack?
(_(_(_(_(_( = [|]Level: 85 Pierce [|] = )_)_)_)_)_)
(_(_(_(_(_(_(_(_( = [|] Class: Warrior[|] = )_)_)_)_)_)_)_)_)
(_(_(_(_(_(_(_(_( = [|]Race: Human [|] = )_)_)_)_)_)_)_)_)
(_(_(_( = WizardBoy: | Proud member of AOK = Click to add population = )_)_)_)