1) To reduce health of a playerYou can setdamage 0.1, so create a looping timedelay script that increases setdamage for every cycle
setdamage1 is death
use this to create timedelay
~10 =wait 10 seconds
~120 =wait 2 minutes
You would also have to declare a variable
We shall call it health
eg health=0
make it executed by the init.sqs using an array for every player you want affecting by it
------------------------------------------------------------------------------------
place this line in the init sqs
[] exec "posion.sqs";
---------------------------------------------------------------------------------
create an array
mylist={w1,w2,w3,w4,w5,w6}
and the script itself
health = 0
#start
;following reduces health to all players in your array
[mylist] thislist setdamage health
;following causes script to wait 2 minutes
~120
;following increases variable "health" by 0.1
health=health + 0.1
goto start
;end
-----------------------------------------------------------------------------------------------------------------------------
syntax and actual lines not correct but something like thatI'm sure one of the scripters here could sort this out for ya
(I aint as those who know what they are talking about can tell, even a novice scripter)
---------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------
2) To increase a players healtha) Create a trigger that setdamage 0
b) or have it activate a script that reduces the setdamage by 0.1
or however much is appropriate
You would have to make "health" a global variable for this to work
and create a global array also