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 Product Chat / Scripting Questions

Author
Message
Cloud of Crows Studios
20
Years of Service
User Offline
Joined: 22nd Nov 2004
Location:
Posted: 13th Feb 2005 22:47 Edited at: 15th Feb 2005 20:53
Quote: "RANDOM=X : is true when a random value between 0 and X is equal to one"


If my brain is grasping this correctly then setting RANDOM=1 has a 50% chance of being true and RANDOM=2 has a 33% chance... is this correct? If so may I suggest a change or additional condition:

RANDOMPERCENT=X : where X is a value between 1 and 99 and represents the percentage chance that the condition is true.
(or 0 and 100 but we already have never and always)

This allows fine tuning (i.e. 75% chance, 40% chance, etc.) and better than 50% odds

Quote: "HEALTH=X and HEALTHLESS=X"


Is this the player health or the entity that is using the script?

Quote: "PLHASKEY=X : is true when the player has pressed the key denoted by the value of x"


Is this referring to keys for doors not keyboard keys. Confused by the press part in the description.

Quote: "RAYCAST,RAYCASTUP,RAYCASTBACK"


Sorry to be dense. What is raycasting in FPSC.

Quote: "IFPLRTRAIL=X : is true when there is a trail left by the player in existance"


How does a player leave a trail?

Quote: "RUNDECAL=X : create a decal from the entity, x being a specific mode 1-6"


What are the different modes 1-6?


Whew! Sorry for all the question

Login to post a reply

Server time is: 2024-11-25 12:58:19
Your offset time is: 2024-11-25 12:58:19