- Joined
- Jan 25, 2020
- Messages
- 6
The script language is in Lua so it may look a bit different from what you are used to. This trigger is able to turn off auto-cast for a normal auto-cast spell like heal, but I can't get it to turn off my custom faeriefire. It detects the custom auto-cast ability being turned on fine.
Also if I change the Text - Order String - Activate it still detects the order as "faeriefireon"
-
Toggle off
-
Events
- Unit - A unit Is issued an order with no target
-
Conditions
- (Issued order) Equal to (Order(faeriefireon))
-
Actions
- Custom script: IssueImmediateOrderBJ(GetTriggerUnit(), "faeriefireoff")
- Custom script: IssueImmediateOrderBJ(GetTriggerUnit(), "healoff")
- Game - Display to (All players) the text: test
-
Events
Also if I change the Text - Order String - Activate it still detects the order as "faeriefireon"