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 / enemy reloads before shooting?

Author
Message
PMCDude
15
Years of Service
User Offline
Joined: 22nd Dec 2008
Location: Behind you
Posted: 17th Jan 2009 23:09
How do I make the enemies shoot without having to reload first when sited?

I checked the manual and boards, but I couldn't find anything.
Dar13
16
Years of Service
User Offline
Joined: 12th May 2008
Location: Microsoft VisualStudio 2010 Professional
Posted: 18th Jan 2009 00:43
well you could have the enemy reload right after they were spawned. that wouldn't work if you were using triggerzones to trigger their spawning however.

I know not with what weapons WWIII will be fought but WWIV will be fought with sticks and stones-Albert Einstein
PMCDude
15
Years of Service
User Offline
Joined: 22nd Dec 2008
Location: Behind you
Posted: 18th Jan 2009 01:07
how would I do that?
Dar13
16
Years of Service
User Offline
Joined: 12th May 2008
Location: Microsoft VisualStudio 2010 Professional
Posted: 18th Jan 2009 05:05
add the following line to beginning of the enemy's script.

that should work on the script.

I know not with what weapons WWIII will be fought but WWIV will be fought with sticks and stones-Albert Einstein
Valkynaz
17
Years of Service
User Offline
Joined: 1st Nov 2007
Location: I forget
Posted: 18th Jan 2009 19:19
Cool thanks Dar13, I have been bugged by this and have been wondering how to fix it.

Mmm....buttermilk....
Dar13
16
Years of Service
User Offline
Joined: 12th May 2008
Location: Microsoft VisualStudio 2010 Professional
Posted: 18th Jan 2009 22:07
no problem Valkynaz.

I know not with what weapons WWIII will be fought but WWIV will be fought with sticks and stones-Albert Einstein

Login to post a reply

Server time is: 2024-11-24 18:55:25
Your offset time is: 2024-11-24 18:55:25