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 / Enemies are deaf?

Author
Message
Deine Mutter
9
Years of Service
User Offline
Joined: 13th Jan 2015
Location:
Posted: 9th Apr 2016 14:44
How do I make characters react to gunshots?
ncmako
12
Years of Service
User Offline
Joined: 19th Feb 2012
Location: Hendersonville,NC
Posted: 11th Apr 2016 02:32
Hi Deine Mutter
There are several ways. Look into the syntax list. there's "damageby=x"
and the "health" conditions and actions. Also if it's and NPC there is
"shotdamage=x and shotdamagetype=x"
But like I said it depends on what your trying to achieve?
best
My games never have bugs. They just develop random features..
Lots and lots of random features...
Deine Mutter
9
Years of Service
User Offline
Joined: 13th Jan 2015
Location:
Posted: 11th Apr 2016 14:31
I want them to be alarmed when they hear a gunshot, no matter if from the Player or another npc.
ncmako
12
Years of Service
User Offline
Joined: 19th Feb 2012
Location: Hendersonville,NC
Posted: 12th Apr 2016 11:51
Quote: "when they hear a gunshot"

Look into a command called "noiseheard"
My games never have bugs. They just develop random features..
Lots and lots of random features...

Login to post a reply

Server time is: 2024-02-21 05:51:53
Your offset time is: 2024-02-21 05:51:53