• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[Trigger] Need Trigger help for the stupid

Status
Not open for further replies.
Level 10
Joined
Apr 13, 2005
Messages
630
Well im making an Assassin Creed rpg even tho i doubt it will be any good. Its open to the public to use if they wish. Anyway this trigger im using doesnt seem to want to work. i asked every advance trigger person i know and switch to WEU to try to fix. They give up after the second try. lol Well the trigger is a Hero attacks a gaurd then make Attacking And gaurd enemys. Once the attacking unit is dead then they will reallie. I also want this trigger to work on citizens. If they attack the citizen Guard will come and attack n become enemys. Then once they die they reallie. I have no trouble with the garud attackin but when it comes to realling It never does seem to work.

First trigger to make them enemys​

  • Guard Attack Copy 3 Copy
    • Events
      • Unit - A unit Is attacked
    • Conditions
      • (Owner of (Attacked unit)) Equal to Neutral Passive
      • ((Owner of (Attacking unit)) controller) Equal to User
    • Actions
      • Set killerpeasent = (Attacking unit)
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • ((Owner of killerpeasent) controller) Equal to User
        • Then - Actions
          • Player - Make Player 12 (Brown) treat (Owner of killerpeasent) as an Enemy
          • Player - Make (Owner of killerpeasent) treat Player 12 (Brown) as an Enemy
          • Game - Display to (All players) the text: ((Name of (Triggering player)) + Has attack a citizen and is now put the gaurds on alert. they will attack you if you go near them)
          • Trigger - Run run died check <gen> (checking conditions)
        • Else - Actions

Trigger to really​


  • run died check
    • Events
      • Unit - A unit Dies
    • Conditions
      • (Dying unit) Equal to killerpeasent
    • Actions
      • Player - For (Owner of killerpeasent), turn Alliance (non-aggression) On toward Player 12 (Brown)
      • Player - For Player 12 (Brown), turn Alliance (non-aggression) On toward (Owner of killerpeasent)
 
Last edited by a moderator:
Status
Not open for further replies.
Top