HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Trigger ordering in a spellbook

02-11-2006, 06:33 PM#1
Panto
Greetings.

You can give a unit a Spellbook-based ability and put whatever spells you want into it.

However, how can you order a unit via trigger to use those spells?

I can succeed in ordering the unit to use the spellbook, but it doesn't open up a menu for anyone except the one ordering, as far as I can tell. Ordering it to use any ability in the spellbook, after that, doesn't work.
02-11-2006, 06:38 PM#2
shadow1500
The only way i can think of is to use hotkeys, open the spell book with the Game - UI Press key action, and then use the ability with the hotkey.
unfortunatly that only works for no-target abilities.
02-11-2006, 07:03 PM#3
Panto
That would also require that I make the owner of the unit select that unit, which could cause a desync, no?
02-11-2006, 07:28 PM#4
Vexorian
The modding conmunity has null knowledge about how using the force ui key work in multiplayer or if it is possible to force it for just one player. I don't think that action works for ai controlled units either.

Sure a normal order doesn't work? I could swear it does otherwise my wc3 knowledge db is corrupted somehow
02-11-2006, 07:38 PM#5
Panto
Is there another way to order it? The problem seems to be that the ability that I want to order is nested in a spellbook, and the spellbook, while being used, doesn't seem to "open" except for the player that uses it. This is somewhat hypothetical, of course, but it's all I've got to explain it.

Having a wait between ordering the spellbook and ordering the nested ability doesn't help.
02-11-2006, 07:50 PM#6
Vexorian
IT seems there is no way to order a unit to cast an ability in a spellbook. I tried to make sure the unit has the spellbook open and didn't work.