Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Spellbook
Events
Unit - A unit Is issued an order targeting an object
Unit - A unit Is issued an order targeting a point
Unit - A unit Is issued an order with no target
Conditions
Actions
Game - Display to (All players) the text: (String((Issued order)))

My way can detect if the spellbook is opened or closed. Its not perfect, but I think its the only way.Interesting. What if the player wanted just to look at the spellbook?
It appears that would be undetectable.
And your way is? I thought you tested it and it didn't work?My way can detect if the spellbook is opened or closed. Its not perfect, but I think its the only way.
Technically, it is impossible to detect the actual spellbook opening. But there are workarounds, which don''t actually detect the spellbook opening, but which detect something else, then open the spellbook...Nope it isnt just need a little triggering and dummy abilities
And if the spellbook is already full without an extra ability?Adding a dummy spell to the spellbook, and every 0.1 seconds try to use the spells.
If the spellbook is open, the ability will fire, then you just need to catch it with another event. Use the same method to detect when its closed.
You cant use the trigger to cast an ability when its inside the spellbook. You need to force the player to press a key. Lets say T and if the
abilities hotkey is T it will fire.
When it has fired the dummy ability you just remove it, and add the other one... Simple...And if the spellbook is already full without an extra ability?
Yes under event is there one. Player press Esc/End CinematicIs there any way to detect when player presses ESC ? Dunno that xD
Its topic related.
You can't remove/add abilities from/to spellbooks with triggers.When it has fired the dummy ability you just remove it, and add the other one... Simple...