HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Trigger Help...

06-19-2004, 09:56 PM#1
kumi333
Ok, I want to implement a system where a certain hero uses abilities and gathers "points" that they later use for abilities that use those points. The greater number of points the greater the effect or dmg of the ability.

For instance:

Hero1 uses the ability PUNCH, they gain 1 point (maximum of 5 points)
Hero1 uses PUNCH 2 more times with total of 3 points saved up.
Hero1 uses SUPER PUNCH which requires at least 1 point to use, for ever point greater than 1 the dmg doubles (or raises gradually)

I would also want a condition for a message to pop up for the player if they dont have any points.

The way i wanted this to work was to have a unit created in a close proximity of the hero to indicate a point. So the trigger detects the number of units near the hero and works off that.

Is there other ways? does this require lots of math? I'm still learning a lot about the editor so I would greatly appreciate help for a big newbie. Thanks a lot!
06-19-2004, 10:40 PM#2
DoN_Rpg
i think i can help u but i dont entirely understand the whole point thingy...is the point thing act as mana or level or ability or what? explain a bit better
06-19-2004, 10:40 PM#3
Rafael Br
Use the hero custom value, set it to +1 every time that he cast the abillity that gives points.
Then make a trigger that have an event when the hero is issued the order of the abillity that requires points, make an if/then/else and check the hero custom value.I can make a map for you with the 3 abillities if you want.
06-19-2004, 11:29 PM#4
kumi333
Quote:
Originally Posted by Rafael Br
Use the hero custom value, set it to +1 every time that he cast the abillity that gives points.
Then make a trigger that have an event when the hero is issued the order of the abillity that requires points, make an if/then/else and check the hero custom value.I can make a map for you with the 3 abillities if you want.

If you would like to Rafael that would be rad! It would be a great learning tool if you did.

You can make up generic names for the abilities just so I can learn how to do this myself.

And to clarify: the "points" (i havent come up with a better name for them) act as seperate requirements for bigger special moves. All the abilities require mana, but the special moves require the "points" and the greater number of points the greater the special ability will be. The normal moves (like PUNCH for instance) are just a means to gather more "points". The problem I had was coming up with a simple way of displaying the "points" to the player AND being able to detect them with a trigger to caculate how many "points" the player has.
06-20-2004, 02:53 AM#5
Rafael Br
Here it is, it have a password, i have sent a PM for you with the password.