View Full Version : I NEED more help
talkred5000
05-10-2004, 03:43 PM
ok me again i managed to get the fms list thanks to all your help but ive run into a wall ive got it to add health but i dont know how to get it to repeat can anybody help me please
Akari
05-11-2004, 12:06 AM
bump
Mr Splinter Cell Guy
05-11-2004, 02:23 AM
As I understand it, you want to add health to a character. Use this FSM statement:
this->C_SetHealth(x)
where 'this' is the character that you want to set the health with, and 'x' is a value between 0.0 and 1.0 (if you are thinking of a value as a percent, divide that value by 100).
(By the way, I'm not an MP2 modder, I am an MP1 modder, and I don't post that much within these modding forums, but I like the Programming forum.)
Uisor
05-11-2004, 04:51 AM
make timer, and in it's end add that health message with message that starts timer again:
this->FMS_StartTimer(name):
Mr Splinter Cell Guy
05-11-2004, 06:41 PM
'this->FMS_StartTimer(name);'? I think FMS should be FSM...
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.