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 / adjust player health?

Author
Message
riccetts
13
Years of Service
User Offline
Joined: 14th Oct 2010
Location:
Posted: 27th Sep 2017 20:35
I just built a game and want to change 500 health to 100 health can anybody help ?
ncmako
12
Years of Service
User Offline
Joined: 19th Feb 2012
Location: Hendersonville,NC
Posted: 27th Sep 2017 22:27
riccetts Look in the Syntax list, at the bottom you will find a list of internal variables.
One is " $PH – Player’s health " use it with a trigger to set players health.

best
My games never have bugs. They just develop random features..
Lots and lots of random features...
riccetts
13
Years of Service
User Offline
Joined: 14th Oct 2010
Location:
Posted: 28th Sep 2017 16:29
Thank you but I thought there was setting in the loading script.
ncmako
12
Years of Service
User Offline
Joined: 19th Feb 2012
Location: Hendersonville,NC
Posted: 29th Sep 2017 00:37 Edited at: 29th Sep 2017 10:54
riccetts
Quote: " I thought there was setting in the loading script"

There is, I thought you meant for during game play. If you want to
start with the player health at 100, just right click on the player "Start Marker" and
you will see "Health" setting. Adjust to meet your needs.

Edit: If you don't want to "rebuild" your game, you could try adding the script
to the "setuplevel.fpi" ? Or maybe in the "loadingpage.fpi" Once for each level.
My games never have bugs. They just develop random features..
Lots and lots of random features...
Stealth Sin
10
Years of Service
User Offline
Joined: 18th Nov 2013
Location:
Posted: 24th Dec 2017 04:28
riccetts, if you are using FPSC just simply right click on the player marker, and change the values to your desires.
Anthony Gonzales

Login to post a reply

Server time is: 2024-03-29 10:13:47
Your offset time is: 2024-03-29 10:13:47