View Full Version : Submenus?
shadow123456789
08-04-2007, 9:43 AM
How would I go about making spell submenus? All I need is a way to create a button that sends you to a submenu with about 7 spells.
edwinfong25
08-04-2007, 5:02 PM
hmm... a submenu, huh? :D
i'd assume that what you'd want would be a spell book abil :)
so, basically you'd get the spell book ability (located in Special -> Items)
then in it's list of abilities, you'd add all the abils that you'd want in the "submenu" and then you'd just add the spell book ability to the unit (you can change the tooltips, the name, the icon, and so on, as you please)
that ought to solve your problem ;)
shadow123456789
08-04-2007, 7:48 PM
And if I want more than one submenu I just create a Custom "Spellbook" ability?
Oh, and with the tooltips... There are none?! :( Where do I find them in the Spellbook object?
edwinfong25
08-04-2007, 11:57 PM
in order to get tooltip fields for the spellbook you'd have to first change it so that it's not an item ability first (field should be something like: 'Stats - Item Ability') set it to false
then the tooltip field will appear :)
also, you should keep in mind that a unit can only have one spell book ability on them at any given time... (not including items)
so, sry but you can't give them more then one spell book... (well, actually, technically you can... but they'd all show up inside regardless which spell book you tried to open)
shadow123456789
08-05-2007, 3:17 AM
Thanks! :D Just one final question(Hopefully :/); How do you make imported music loop in a map?
edwinfong25
08-05-2007, 7:33 AM
well, as far as i know, as long as you import the music into your map, and then in the Sound Editor, click 'Use as Music' for that song, then if you in a trigger use the action, 'Sound - Play <Music>'
then that should automatically loop... :concern:
else, perhaps try adding a 'Sound - Clear Music' action
if those dont work then please give a bit more details regarding your situation, but those should work :)
vBulletin® v3.7.2, Copyright ©2000-2008, Jelsoft Enterprises Ltd.