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 / Getting the enemy to detect where he has been shot

Author
Message
Michael Thompson
16
Years of Service
User Offline
Joined: 15th Aug 2008
Location: Behind you (if not, in australia)
Posted: 2nd Nov 2010 17:41
Hey everyone, is there any way to get an enemy to detect where they have been shot?
Like if they are shot in the right leg, they respond to the right leg (im sre u all got the idea already)
Thanks everyone.


Windows 7 ultimate x64, Intel i7, 4 GB RAM, NVIDIA GEFORCE 330m 1GB
Flash Star Game Creations
Gencheff
14
Years of Service
User Offline
Joined: 12th Jun 2010
Location: UK by way of USSR
Posted: 2nd Nov 2010 17:46
Nah.

The only indication you can have is whether the character was shot in the head or not.If he is, then more damage is inflicted.This has to be put in the appear script as an action

headshot=x (where x is the height of the head (normally=60))
and headshotdamage=x (self-explanatory)

You can actually improvise with this and change the headshot height to somewhere around the stomache ,however you will only have one additional point,you can't add multiple headshot heights.

you have a script in your library named : appearwithheadshot.fpi

Michael Thompson
16
Years of Service
User Offline
Joined: 15th Aug 2008
Location: Behind you (if not, in australia)
Posted: 2nd Nov 2010 18:38 Edited at: 2nd Nov 2010 18:39
EDIT
Duplicated text - removed by user.

Windows 7 ultimate x64, Intel i7, 4 GB RAM, NVIDIA GEFORCE 330m 1GB
Flash Star Game Creations
Michael Thompson
16
Years of Service
User Offline
Joined: 15th Aug 2008
Location: Behind you (if not, in australia)
Posted: 2nd Nov 2010 18:38
OK, thanks. I was worried that would be the case - I had a great idea - characters that respond to a certain area when shot there, and then that area goes into a ragdoll like state. would be good.

Thanks

Windows 7 ultimate x64, Intel i7, 4 GB RAM, NVIDIA GEFORCE 330m 1GB
Flash Star Game Creations

Login to post a reply

Server time is: 2024-11-24 16:22:05
Your offset time is: 2024-11-24 16:22:05