- Joined
- Dec 2, 2016
- Messages
- 733
It's supposed to if a unit carries the Hellfire item not allow building that structure on top or near them. Tested but it didn't work, any idea what the issue is?
-
Disable boxes near hellfire
-
Events
- Unit - A unit Begins construction
- Conditions
-
Actions
-
Unit Group - Pick every unit in (Units in (Entire map)) and do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Or - Any (Conditions) are true
-
Conditions
- (Unit-type of (Picked unit)) Equal to Ancient Vampire
- (Unit-type of (Picked unit)) Equal to Ancient Vampire
- (Unit-type of (Picked unit)) Equal to Ancient Vampiress
-
Conditions
-
Or - Any (Conditions) are true
-
Then - Actions
- Set FeedingBlockDistance = (Distance between (Position of (Picked unit)) and (Position of (Constructing structure)))
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- FeedingBlockDistance Less than 100.00
-
Or - Any (Conditions) are true
-
Conditions
- (Item-type of (Item carried by (Picked unit) in slot 1)) Equal to Gauntlets of Hellfire
- (Item-type of (Item carried by (Picked unit) in slot 2)) Equal to Gauntlets of Hellfire
- (Item-type of (Item carried by (Picked unit) in slot 3)) Equal to Gauntlets of Hellfire
- (Item-type of (Item carried by (Picked unit) in slot 4)) Equal to Gauntlets of Hellfire
- (Item-type of (Item carried by (Picked unit) in slot 5)) Equal to Gauntlets of Hellfire
- (Item-type of (Item carried by (Picked unit) in slot 6)) Equal to Gauntlets of Hellfire
-
Conditions
-
Or - Any (Conditions) are true
- Conditions
- (Unit-type of (Constructing structure)) Equal to Blood Box
- (Unit-type of (Constructing structure)) Equal to Feeding Block
-
Then - Actions
- Unit - Remove (Constructing structure) from the game
- Else - Actions
-
If - Conditions
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Loop - Actions
-
Unit Group - Pick every unit in (Units in (Entire map)) and do (Actions)
-
Events
- /[trigger]