Right, I've got a zombie survival map like DayZ and the zombies need to swarm the Player if a Player kills one without a suppressed gun.
I've got this code so far, and it works to some extent. But how would I make it so that I can make it any weapon except the suppressed ones?
AttackOrder 2
Events
Unit - Any Unit dies
Local Variables
Conditions
(Owner of (Triggering unit)) == 15
(Weapon used in attack) == M4A1 - Single Shot
Actions
Unit Group - Pick each unit in (Any units in (Entire map) owned by player 15 matching Excluded: Missile, Dead, Hidden, with at most Any Amount) and do (Actions)
Actions
Unit - Order (Picked unit) to ( Attack targeting (Position of (Killing unit))) (Replace Existing Orders)
Would (Weapon used in attack) != Barret .50 Cal (Suppressed) work?
Then I just add all the suppressed weapons to the list like this:
Conditions
(Owner of (Triggering unit)) == 15
(Weapon used in attack) != Barret .50 Cal (Suppressed)
Right, I've got a zombie survival map like DayZ and the zombies need to swarm the Player if a Player kills one without a suppressed gun.
I've got this code so far, and it works to some extent. But how would I make it so that I can make it any weapon except the suppressed ones?
AttackOrder 2
Events
Unit - Any Unit dies
Local Variables
Conditions
(Owner of (Triggering unit)) == 15
(Weapon used in attack) == M4A1 - Single Shot
Actions
Unit Group - Pick each unit in (Any units in (Entire map) owned by player 15 matching Excluded: Missile, Dead, Hidden, with at most Any Amount) and do (Actions)
Actions
Unit - Order (Picked unit) to ( Attack targeting (Position of (Killing unit))) (Replace Existing Orders)
Would (Weapon used in attack) != Barret .50 Cal (Suppressed) work? Then I just add all the suppressed weapons to the list like this:
Conditions (Owner of (Triggering unit)) == 15
(Weapon used in attack) != Barret .50 Cal (Suppressed)
(Weapon used in attack) != SCAR-L (Suppressed)
(Weapon used in attack) != M4A1 (Suppressed)
(Weapon used in attack) != SPAS-12 (Suppressed)
Have suppressed guns give the unit a universal silenced behavior. Then youd just condition whether or not unit had a silenced behavior.