Staredit Network

Staredit Network -> UMS Assistance -> Hp% Trigger
Report, edit, etc...Posted by assassin_498 on 2004-07-16 at 13:54:27
How do you do the hp% trigger? I really need to know for a new rpg that im making.
Report, edit, etc...Posted by PwnPirate on 2004-07-16 at 14:19:11
u put


-----------------------------------
Conditions
-----------------------------------
player brings unit to (healing location)

-----------------------------------
Action
-----------------------------------
Modify unit hitpoint to 100%
Wait 15000 milliseconds(to make sure he aint camping on heal)
Preserve trigger
Report, edit, etc...Posted by assassin_498 on 2004-07-16 at 14:24:03
Thats only for healing, im talking about Hp% increasing per lvl u get, like in some rpgs.
Report, edit, etc...Posted by BeeR_KeG on 2004-07-16 at 14:48:39
Conditions
- Current player has at least X Exp.
Actions
- Set Switch X
- Set HP% to X

Conditions
- Current player has at least X Exp.
- Current Player did something for heal
Actions
- Set Hp% to X
- Preserve Trigger

You should do one of these for every level up. Switch X is the level he is in.
IE: Switch 1 = Level 1
Report, edit, etc...Posted by assassin_498 on 2004-07-16 at 15:34:40
is the 2nd trig for healing depending on what lvl ur on?
Report, edit, etc...Posted by BeeR_KeG on 2004-07-16 at 15:36:27
Yes.

You can also make a trigger very much like the ones above for upgrades. On the first trigger you can add minerals and gas for upgrades if you want.
Report, edit, etc...Posted by (U)Bolt_Head on 2004-07-17 at 08:27:02
I never liked that. (it always bugs me when i start the map and my unit is always in the red)

But thats just my personal preferance.
Report, edit, etc...Posted by Moogle on 2004-07-17 at 10:22:03
I never used a switch on hp % i just used custom exp atleast X Atmost X pretty much it. So like this

Conditions:

- Current player brings at least X units to location X
- Current player has at least X Exp
- Current player has at most X Exp

Actions:

- Modify HP for unit at location X
- Preserve Trigger


Change atleast & Atmost at lvl ups =/
Report, edit, etc...Posted by Mini Moose 2707 on 2004-07-18 at 01:35:44
Never use switches for something like this. Switches are global and affect all players. Unless you plan on using seperate switches for each player. :/
Next Page (1)