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 / [LOCKED] Scripting question

Author
Message
8thsinner
15
Years of Service
User Offline
Joined: 3rd Jun 2009
Location:
Posted: 10th Jun 2009 20:14
To have enemies with dual weapon use

I was hoping to have something like
If plr within 300 load hand gun
if plr more than 400 load machine gun

I have been playing around with scripts all day but can't get a thing working yet the way I want to.
I have been trying to modify essentially the pace script. By adding a ifnoise heard, crouch and approach target slowly.

A number of problems arise.
when noiseheard the ai freezes
I was using a state=4 term for the crouch animation and putting state4 in the shoot script

can someone please add a little insight to scripting order and state use, I think thats what I need.
Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 11th Jun 2009 00:21
1) Give your threads a more descriptive title next time.

2) Look into the scripting tutorials in the official community guide. You can download the guide from a sticky in the "FPSC Chat" board.


The one and only,


Login to post a reply

Server time is: 2024-11-25 03:02:28
Your offset time is: 2024-11-25 03:02:28