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 / If player has weapon then shoot

Author
Message
zubarkhald130
12
Years of Service
User Offline
Joined: 14th Aug 2012
Location:
Posted: 12th Nov 2012 17:54
I want to make a script. I want to make that enemies follow way points or stand, but when player pull out his weapon near an enemy then he shoot the player and its alert the near by enemies.

please help me..........

bad English, sorry

www.pcgamestrainers.xoomsite.com
Corno_1
14
Years of Service
User Offline
Joined: 3rd Nov 2010
Location:
Posted: 12th Nov 2012 19:37
if the player has the weapon in a specific slot, you can use plrcurrentweapon=
here for the cautious10.fpi

so if the player has a weapon of one of this slots in his hands, the enemy shoot at him
to give him the weapon in a specific slot use this as main script for the weaponentity 1:

for the other weapons higher the weapontoslot="value"

you need a script? I need useful requests at the moment!
http://forum.thegamecreators.com/?m=forum_view&t=200918&b=23
zubarkhald130
12
Years of Service
User Offline
Joined: 14th Aug 2012
Location:
Posted: 13th Nov 2012 03:29 Edited at: 13th Nov 2012 03:31
Thanks Corno_1,

I am using FPI Edit Pad 3.3.95. When I pasted these scripts in cautions10.fpi and weapon.fpi. The FPI Edit Pad said to me "Condition command is invalid in selected line." for plrcurrentweapon



and "Action command is invalid in selected line." for weapontoslot



www.pcgamestrainers.xoomsite.com
Gamestar
12
Years of Service
User Offline
Joined: 19th May 2012
Location:
Posted: 13th Nov 2012 06:23 Edited at: 13th Nov 2012 08:55
Hi Zubark...

FPI Edit Pad has all the latest commands for Builds 119 of FPSC Creator

http://forum.thegamecreators.com/?m=forum_view&t=170978&b=21&msg=2025564#m2025564

Checkout the full board for other scripting Commands...

Login to post a reply

Server time is: 2024-11-23 19:34:16
Your offset time is: 2024-11-23 19:34:16