HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

creating a meter

03-10-2004, 01:28 PM#1
Marco
I need some help here...
I would like to create my own battle system,but i can't figure out how to create a visual meter like that used in final fantasy games (when it's full, then the character can make actions).
I've seen one in a custom map, but i can't understand how it works because the comments and the name of the triggers are not written in english!
I hope u understand my english ^_^
THX
03-10-2004, 01:45 PM#2
Draco
||||||||||||||||||||||||||||||

Then just color how many you need based on how long until they can attack.
03-10-2004, 02:46 PM#3
Marco
Quote:
Originally Posted by Draco
||||||||||||||||||||||||||||||

Then just color how many you need based on how long until they can attack.

Can you attach a simple demo or explain me a simple trigger sequence to do so plz?
03-10-2004, 03:08 PM#4
BoZo
The best way to learn how to trigger is to find out how to do things yourself.
03-10-2004, 04:50 PM#5
Marco
Quote:
Originally Posted by BoZo
The best way to learn how to trigger is to find out how to do things yourself.

Yes but i don't know how to create a window with a meter inside...
Any help?
03-10-2004, 05:11 PM#6
dataangel
You want to create a multiboard, then put pipes |||||| inside a multiboard item on the multiboard. They'll stick close enough together that it looks like a meter. You'd want something like a periodic event, where the user enters battle, and you turn on the trigger with the periodic event, and every 1.5 seconds or something it adds another pipe to the end. Try and figure it out from there, post again if you need more ;)

You could also see how my map Battledome does it by clicking the link in my sig and downloading the unprotected version, but that's in JASS and maybe too difficult (but that this can be done without JASS).
03-10-2004, 05:55 PM#7
MysticGeneral
If you want it visual like Final Fantasy (and not lines) make 2 16x16 icons. One will be red and one will be grey. In the triggers, create 10 columns and extra columns for info. Then in the 10 columns, their width will be 1% (depending on screen resolution). Now, at the beginning of the map, yer going to set the icons for those columns/rows to be the gray icon. Everytime he gets 10% experience/life blah blah dropped, yer going to change the icon to the red one. Get it?
03-10-2004, 10:37 PM#8
Marco
Thx guys, these hints have been very useful! :D
Just one last question:is it possible to customize the spacing beetween the columns of a multiboard? (or between the lines...)