• 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.

Combat - Attacks Allowed

Status
Not open for further replies.
Level 5
Joined
Dec 30, 2022
Messages
36
Is it possible to adjust the "Combat # - Attacks Allowed" field so a unit can ONLY attack allies? The "Allied" and "Friend" options do not work like I thought they would. I can still attack enemies with only them selected.

Thanks!
 
Level 14
Joined
Jan 10, 2023
Messages
247
1) Make a trigger with the event
Player 1 selects a unit

2) Make an event for that trigger that uses the action 'Game - Display message to all players'

3) Set the message equal to 'convert integer to string' and use the integer of the triggering unit's combat #

4) Assign different targets allowed to different unit and place the units on the map.

5) Select various units and see what patterns you notice.

I'll circle back later and do the same and share my findings.
 
Level 5
Joined
Dec 30, 2022
Messages
36
1) Make a trigger with the event
Player 1 selects a unit

2) Make an event for that trigger that uses the action 'Game - Display message to all players'

3) Set the message equal to 'convert integer to string' and use the integer of the triggering unit's combat #

4) Assign different targets allowed to different unit and place the units on the map.

5) Select various units and see what patterns you notice.

I'll circle back later and do the same and share my findings.
Alright, let me know if you find anything. I did a bunch of testing with the different options and got nothing
 
Status
Not open for further replies.
Top