[Log in / Register]
| News | Chat | Pastebin | Donations | Tutorials | Rules | Forums |
| Maps | Skins | Icons | Models | Spells | Tools | Jass | Packs | Hosted Projects | Starcraft II Modding | Starcraft II Resources | Galaxy Wiki |
(Keeps Hive Alive)
Go Back   The Hive Workshop > Warcraft III Modding > Triggers & Scripts


Triggers & Scripts In this forum you may ask for help on fixing a trigger or script. But if you need help getting started with a trigger, this is not the right place — use the World Editor Help Zone.

Closed Thread
 
Thread Tools
Old 08-06-2012, 03:19 PM   #1 (permalink)
Registered User Chaithresh
Chaithresh
 
Join Date: Nov 2011
Posts: 58
Chaithresh has little to show at this moment (2)
Idea Multi board Icons

Hai I am creating a map called Battle 4 ways that i created multiboard for it my problem is i created 11 heroes and i wanted put icons in the multiboard which heroes that players picked. Help me about putting icons in multiboards and secondly i wanted to show spell damage as floating text and i wanted help about floating text.

(English is not native language so my english is not good so i am sory about my english)
__________________
I aM pErfEctIoN
Chaithresh is offline  
Old 08-06-2012, 05:33 PM   #2 (permalink)
Registered User Mr_Bean
Where's Teddy?
 
Mr_Bean's Avatar
 
Join Date: Feb 2011
Posts: 1,593
Mr_Bean is a jewel in the rough (238)Mr_Bean is a jewel in the rough (238)Mr_Bean is a jewel in the rough (238)
Techtree Contest #7 - Winner: The Ancients and The Old One: The incarnation of the World Tree as a Super Unit commences the tides of battle. Nature has found its most precious avenger! A race by Lordkoon & Mr_Bean987. 
About the icons, you will need to use if statements that checks what the hero type is and sets the icons accordingly.

Showing damage will be a bit tricky. You will need a damage detection system of some sorts. Try Damage Engine by Bribe.
__________________
Mr_Bean's Spell Workshop
- Looking for people to help with GUI & vJASS requests.
- Need help importing your request? Try this guide I wrote!
Mr_Bean is offline  
Old 08-07-2012, 05:40 AM   #3 (permalink)
Registered User Chaithresh
Chaithresh
 
Join Date: Nov 2011
Posts: 58
Chaithresh has little to show at this moment (2)
but Mr_Bean987 can show a demo trigger
__________________
I aM pErfEctIoN
Chaithresh is offline  
Old 08-07-2012, 11:03 AM   #4 (permalink)
Registered User kari0003
User
 
kari0003's Avatar
 
Join Date: Sep 2009
Posts: 217
kari0003 is a jewel in the rough (200)kari0003 is a jewel in the rough (200)
Here is an example trigger for the Mb icon set:

HeroIcon Set
Events
Time - Elapsed game time is 1.00 seconds
Conditions
Actions
Player Group - Pick every player in (All players) and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Unit-type of hero[(Player number of (Picked player))]) Equal to Paladin
Then - Actions
Multiboard - Set the icon for multiboard item in column 1, row (Player number of (Picked player)) to ReplaceableTextures\CommandButtons\BTNHeroPaladin.blp
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Unit-type of hero[(Player number of (Picked player))]) Equal to Tauren Chieftain
Then - Actions
Multiboard - Set the icon for multiboard item in column 1, row (Player number of (Picked player)) to ReplaceableTextures\CommandButtons\BTNHeroTaurenChieftain.blp
Else - Actions

Note: I think you saved the heroes in an array variable for each player.
Note2: You can set the row and column optionally at the "Multiboard - Set Icon"


About Bribe's damage detection system, here is a link for you!
kari0003 is online now  
Old 08-11-2012, 09:35 AM   #5 (permalink)
Registered User Almia
Escape Factory Head
 
Almia's Avatar
 
Join Date: Apr 2012
Posts: 2,952
Almia is a name known to all (629)
You can use Integer Loop Checking after you put the unit in variables then changing the icon in the board :D

Note:Icons should be also put in the variables and variables should be in arrays
Almia is offline  
Old 08-12-2012, 05:35 PM   #6 (permalink)
Registered User Zunariel
User
 
Join Date: May 2006
Posts: 83
Zunariel has little to show at this moment (13)Zunariel has little to show at this moment (13)
What I think you search is a General solution like

Set Icon to Game Interface of Triggering Unit

But there is no function like that you have to make an extra action for all Icons you wanna Implement
__________________
Hööö?
Zunariel is offline  
Old 08-16-2012, 09:31 AM   #7 (permalink)
Registered User Chaithresh
Chaithresh
 
Join Date: Nov 2011
Posts: 58
Chaithresh has little to show at this moment (2)
k bean bro thanks to used ur time to help me and i will credit u in my map and thanks all who posted in this post thank you.
__________________
I aM pErfEctIoN
Chaithresh is offline  
Closed Thread

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


All times are GMT. The time now is 06:43 AM.





Powered by vBulletin
Copyright 2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.5.1 PL2
Copyright © Ralle