Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

FPSC Classic Scripts / script help

Author
Message
wizardious
15
Years of Service
User Offline
Joined: 18th Aug 2009
Location: Saskatchewan Canada
Posted: 5th Sep 2009 00:22
I have been trying to alter a stock character main script to make the enemy fall down once he reaches 50% of his life.
I have tried to tell it if the shotdamage is 50 then play animation 11 (shotdamage=50,animate=11) but seem to have no luck.
Do i have to tell the animation to stop after it starts? Also,were in the script cycle do i add this? Right after the enemy is told to shoot?
I hope someone can give me a nudge in the right direction.
Thanks
FredP
Retired Moderator
18
Years of Service
User Offline
Joined: 27th Feb 2006
Location: Indiana
Posted: 6th Sep 2009 00:19
Unhelpful Titles

Please do not simply write "Noob Question", "I am a newb", "One Noobie Question", "A question", "Please help", "This isn't working" or anything similar as the title of your post. We have a search facility, and meaningless titles do not help others find answers to their questions. It will also help you to get quicker responses if people have an idea of your thread content.

Failing at every guitar game ever made!
anayar
15
Years of Service
User Offline
Joined: 19th Aug 2009
Location: Minneapolis, MN
Posted: 10th Sep 2009 04:34
Why change the script, just make the characters health 50 in the properties tab.....

A.N
Bugsy
16
Years of Service
User Offline
Joined: 24th Nov 2008
Location: another place in time
Posted: 10th Sep 2009 05:24
I think he wants him to get up too

there are 3 ways to do this:

A: set respawns to 2 and give him 50 health

B: correct your script (:shotdamage=50:animate=11)

C: in the GUNSPEC of all your weapons, set damagetype to 3

Login to post a reply

Server time is: 2024-11-25 06:46:59
Your offset time is: 2024-11-25 06:46:59