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 / noob needs help

Author
Message
Predator boy
18
Years of Service
User Offline
Joined: 14th May 2006
Location: Up your butt and around the corner
Posted: 28th Sep 2006 06:51
hello i am tryin to write a script based off tutorial but i want it so when the player reaches a certain distance from the object it activates script what woud i put for that?

"I'm a lean mean speed thingy!" "What about my womanly needs?" "Send the kids to the neighbors cuz i'm coming back loaded!"
xplosys
18
Years of Service
User Offline
Joined: 5th Jan 2006
Playing: FPSC Multiplayer Games
Posted: 28th Sep 2006 16:52 Edited at: 28th Sep 2006 16:52
Use the following condition to determine when the player is within a certain distance from the entity.

PLRDISTWITHIN=X is true when player is within X units

Happy game making.

The forum provides a means to hide our true identity. Too bad we always screw up and let it be seen.

Predator boy
18
Years of Service
User Offline
Joined: 14th May 2006
Location: Up your butt and around the corner
Posted: 29th Sep 2006 00:06
ok ty

"I'm a lean mean speed thingy!" "What about my womanly needs?" "Send the kids to the neighbors cuz i'm coming back loaded!"
Predator boy
18
Years of Service
User Offline
Joined: 14th May 2006
Location: Up your butt and around the corner
Posted: 29th Sep 2006 00:35
heres a script im trying to make what do i say if i want the enitity to give the player a weapon?


"I'm a lean mean speed thingy!" "What about my womanly needs?" "Send the kids to the neighbors cuz i'm coming back loaded!"
Nue B
19
Years of Service
User Offline
Joined: 20th Nov 2005
Location: Indy
Posted: 29th Sep 2006 07:16 Edited at: 29th Sep 2006 07:17
in state=0 you have followplr in the wrong place... follow is and action not a condition. actions belong on the right side of colons and conditions to the left.

And state=1 is not at all valid! LOL!
you can't call files that way. to get a gun from a character you have to kill him/her or place a gun and walk near it.

Nue B. or not Nue B. That is the question.
Predator boy
18
Years of Service
User Offline
Joined: 14th May 2006
Location: Up your butt and around the corner
Posted: 29th Sep 2006 15:57
but its kinda like people having entitys give them medical help except they give them guns....

"I'm a lean mean speed thingy!" "What about my womanly needs?" "Send the kids to the neighbors cuz i'm coming back loaded!"

Login to post a reply

Server time is: 2024-11-23 01:28:39
Your offset time is: 2024-11-23 01:28:39