HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Making a dumb unit do "smart"

02-21-2010, 02:14 PM#1
Panto
Greets.

I've got an interesting problem. I've got a unit that has no move or attack, but I want to produce a triggered effect while the unit is selected and a player right-clicks in a region.

The right-click action with any unit that has a move or attack ability will cause it to make the "smart" action, but without them it does not make any action at all.

I want to keep the command card free of all the attack and move icons as it is filled with buttons for a selection system.

Thanks for your ideas.
02-21-2010, 04:06 PM#2
Troll-Brain
You can use the rally ability 'Aral', only one slot will be taken.
02-21-2010, 04:47 PM#3
Panto
That's a good start! It would be functional if I could only eliminate or hide the button for it.
02-21-2010, 04:53 PM#4
Ammorth
It might be possible to stick it in an disabled spellbook. You may have to use the rawcodes in the object editor to select it as a spell.
02-21-2010, 04:56 PM#5
Panto
Yea, just as an experiment I added Aral to the unit and it didn't show up... I will have to figure out what else I need to give it to make that work. Unfortunately I don't think putting it in a spellbook will help, but it doesn't hurt to try!
02-21-2010, 06:11 PM#6
Troll-Brain
Hmm it's 'ARal' and not 'Aral', my bad.
Also for the hidden spellbook, i'm not sure but i think it only works with passives abilities.
You could try to create a custom 'ARal' based ability but make it as an item ability, it could work.