| 08-08-2006, 02:31 AM | #1 |
Ok heres what im wanting... to understand how to create a button. NOT a dialog button but a button like hero level buttons and skill/ability buttons where it then changes all buttons.... Basicly like that in swat and other type maps like that. Heres my goal... To create a map where as you play throu the quest you can chose to gain X ability/spell and then level it as your hero levels. Also i want to be able to use buttons to help with Special options like camera views etc.... but im at a loss as to how to manipulate the buttons or even where to find out info on how the default buttons work I know programming and understand that aspect of JASS but its the part where WC3 comes in im lost .... So i need ether a list of all constants/functions/methods and such that is connected to wc3 side of jass... OR I need a working set of scripts that add a button that then removes and resets the defualt buttons ... THX |
| 08-08-2006, 03:54 AM | #2 |
Making the artwork has nothing to do with triggers and scripting. Making the effects are much more complicated and you will need to list the effects that you want done exactly. The basic idea is that there is a dummy ability that when used, will cause trigger to run that has the desired effect. |
| 08-08-2006, 03:57 AM | #3 |
You can't add custom buttons. For special option in the command card, you can use a dummy shop, with the dummy units being sold named as the options you want to have. Each time you buy one of those units means that the option was chosen. i hope I am being clear on the idea. |
| 08-08-2006, 04:00 AM | #4 |
Spellbooks work too. |
| 08-08-2006, 04:14 AM | #5 | |||
Quote:
nice info but isnt the answer to my post or even talks about it... since my post says nothing about art or effects of a skill or even creating a skill Quote:
First off you can create a custom buttons ... SWAT and other games do it ... also the dummy shop idea doesnt help with the skills and abilitys problem seeing that when u add an ability to a hero you cant level that ability with the hero using the hero level button like normal skill/abilitys that where added to the hero in the editor ... or atleast i dont know a command that does this Quote:
BINGO we have a winner ... i think .... i am looking into a map with a spell book setup ... but.... I am still wondering about the wc3 side of jass .... things like defualt function names and game constants .... thx |
| 08-08-2006, 04:41 AM | #6 | |||
Quote:
I was addresing this: Quote:
Where a spell book would not be efficient. That "SWAT game" probably does either Naak or mine's idea. Custom buttons with custom functions can't be added to the command card, they are faked via either method. Perhaps through the build command as well. Quote:
Look for the "JASS manual" in google. |
| 08-08-2006, 05:12 AM | #7 |
Ok thx for the manual ... i think it might have what im looking for but the... Special options like camera views that can still be done using buttons there is a battle tanks type map that does it .. they use a button that when hit it changes the camera view ... its prolly just a dummy ability but im wanting to know how to remove the "stop" "attack" etc buttons and add new dummy abilitys or buttons but i am confused as to what you mean when you refer to the command card? but for now ill focus on one thing lol ![]() |
| 08-08-2006, 05:48 AM | #8 |
The command card is the box in the bottom right with the 12 buttons. Disable both of the unit's attacks to disable the attack button. Removing "Amov" from the unit might get rid of stop, patrol, hold position and move, however your unit will no longer be able to move. Adding Ward classification removes icons from the command card. |
