| 03-19-2004, 04:45 PM | #1 |
I need to know how to do these two triggers. #1: How do I get Animations to loop (Using the "Play Animation" trigger)? The way I'm doing it right now is playing the attack animation, and has the trigger repeat itself (and it repeats forever, till the unit dies). Is there any way of doing it so that the animation will play until the unit given a move, or attack order? So basically: How do you get an animation to loop, and not be stuck playing the animation forever? #2 :How do you change max life or mana in game? For example: Say we have a unit that has make life of 300. The player wants the unit's max life to be 500. So the player types something like "life 500" as an event, and then the action would set the unit's max HP to 500. I've tried using the "Unit - Set Unit's life to (NUMBER)", but it doesn't set the unit's life above its max HP. These triggers are possible, as they are in DoB RP. Any help will be MUCH Appreciated. |
| 03-19-2004, 04:53 PM | #2 |
I have an idear for second one. GO to gameplay contants and set like 1 mana for piont of intelegents. And than when player tipes "mana 500" than u run trigger - hero/set intelegents of UnitX to 500! Simpel and... Simpel |
| 03-20-2004, 01:08 AM | #3 |
would that also work for normal units such as footmen, and grunts...? |
| 03-20-2004, 01:52 AM | #4 |
I know you can do this with an ability, i do it in my map, but you still see the icon/item. :\ |
| 03-20-2004, 01:55 AM | #5 |
There is no icon on the item ones check the trigger repository for bonus mod if you'd like the implementation I used. |
| 03-20-2004, 02:23 AM | #6 |
OH YEAH!! i forgot about that. it was a prob for me... yet helping you P.S. and really... when do we get the rest of the smilies back? |
| 03-20-2004, 02:24 PM | #7 |
ok, ill check out the bonus mod... and i guess no one knows how to answer the first question? |
| 03-20-2004, 02:34 PM | #8 |
I think that typing looping right to the animation name works "spell looping" At least it working for me once in the ability editor |
| 03-20-2004, 03:21 PM | #9 |
nope, just tried adding "looping" to the animation name. i guess i'll have to TRY and get it out of the guy who made it... |
| 03-20-2004, 03:25 PM | #10 |
or was it just "spell loop" ? anyways if it doesn't work I think you can just make a for loop and queue the animation n times |
| 03-23-2004, 11:38 PM | #11 |
ive looked at Bonusmod, and I can't understand how to implement that thing. Can someone explain how its done? I've tried PMing the guy who made it, but he hasn't responded. |
| 03-23-2004, 11:54 PM | #12 | |
Quote:
I think i might have the answer to that first Q. All you do is; 1.Create trigger saying 'if unit is ordered to stop then run trigger (next)' 2. Ceate next trigger saying 'every (time the animation takes) seconds play (amin.)animation 3. Unit is ordered to move then turn off trigger (2. ^) Of course this would only work when a unit is ordered to stop i suppose, might work fro mhim stopping himself but im not too sure Hope this helped! |
| 03-24-2004, 12:06 AM | #13 |
Thanks! This might have solved the problem (I dont have time to test it, but it looks like it will work)! |
| 03-25-2004, 03:56 PM | #14 |
Nope Problem Man, glad to be of some help :P. Make sure to tell me if it works or not :D |
| 03-25-2004, 04:56 PM | #15 |
i should be able to test it tonight... Anyway, anyone care to explain Bonus mod to me so I can use that? |
