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 / How to match a gun to the enemy?

Author
Message
Layken
14
Years of Service
User Offline
Joined: 8th Apr 2010
Location: Tam gdzie mnie niema
Posted: 8th Oct 2010 18:27 Edited at: 8th Oct 2010 19:00
Can I adjust the weapon to crush the only one enemy and another to do nothing???

Sorry my english is bad I use translator

for exemple I can kill zombie only with axe
whats wrong with this script!
14
Years of Service
User Offline
Joined: 23rd Sep 2010
Location: TOP SECRET
Posted: 9th Oct 2010 07:38
im new to scripting but there are two things can do, you could have the appear script of the zombie settarget=( any weapon other than axe) addhealth= ( damage of the weapon) or you could (if it is only zombies) set the weapons damage to a low # or 0. i not sure if im right. hope i was helpful

Layken
14
Years of Service
User Offline
Joined: 8th Apr 2010
Location: Tam gdzie mnie niema
Posted: 9th Oct 2010 08:25
can you make a script?
Layken
14
Years of Service
User Offline
Joined: 8th Apr 2010
Location: Tam gdzie mnie niema
Posted: 10th Oct 2010 09:57
please
zeza
16
Years of Service
User Offline
Joined: 27th Jun 2008
Location:
Posted: 10th Oct 2010 16:37
The only way you can do this is in Project Blue, you set all your weapons' damage to 0, then use shotbyweap= to check if the entity was hit by the weapon you want, then subtract the amount of health you want with subhealth=

I'd change the world, but I don't have the source code
R.I.P. heltor, we will miss you

Login to post a reply

Server time is: 2024-11-24 19:59:54
Your offset time is: 2024-11-24 19:59:54