SRCDS Steam group


Halo Script Help
#1
sorry but it won't let me register on mati event scripts so i came here!

Have you ever played halo? where when your health is low, then after about 2 seconds your health goes up to 50% and regenerates from there! Could you make a script for that?
Reply
#2
Sounds like a good idea, should be pretty simple.

- Detect players health
- When it reaches a certain level, run a timer for 2 secs
- Give player 50% more health
- Run a recurring timer to increase health every second until it reaches 100

or something similar.
Reply
#3
Muppet Wrote:Sounds like a good idea, should be pretty simple.

- Detect players health
- When it reaches a certain level, run a timer for 2 secs
- Give player 50% more health
- Run a recurring timer to increase health every second until it reaches 100

or something similar.

And could you give me a head start with that? sorry... but im not that good at scripting yet! so if anyone could give me a little jump start that would be great!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)