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 / anyone please fix this script

Author
Message
zombie 47
User Offline
Joined: 13th Aug 2016
Location:
Posted: 16th Dec 2016 22:38
hi everyone i need some help
please i put in attachment a picture open it to understand me and this a script


;Artificial Intelligence Script

;Header

desc = nightvision by zombie47

;Triggers


:state=0:state=2



:plrcurrentweapon=ww2\colt45:hudunshow=ambience=0,ambiencered=0,ambiencegreen=0,ambienceblue=0,plrfreeze=0,etimerstart,state=20



;VIEWING HUD (f KEY)
:state=2,scancodekeypressed=33:state=5

:state=5:state=10

:state=10:ambience=55,ambiencered=0,ambiencegreen=250,ambienceblue=205,setposteffect=television,plrsound=audiobank\rect\camera\vision.ogg,etmerstart,state=11
:state=11,etimergreater=1000,scancodekeypressed=33:setposteffect=none,state=12


:state=12,scancodekeypressed=11:etimerstart,state=15
:state=12,scancodekeypressed=33:etimerstart,state=15

:state=15,etimergreater=10:ambience=0,ambiencered=0,ambiencegreen=0,ambienceblue=0,plrfreeze=0,etimerstart,state=20

;Reset Main delay
:state=20,etimergreater=150:state=2

Attachments

Login to view attachments
ncmako
5
Years of Service
User Offline
Joined: 19th Feb 2012
Location: Hendersonville,NC
Posted: 16th Dec 2016 23:41
zombie 47
You can't as far as I know. We don't have a "force player to holster weapon" command.
So you have to hit the 0 (zero) key first, then the "F" key. Sorry.
The only alternative is the command to have the player "drop" weapon.
My games never have bugs. They just develop random features..
Lots and lots of random features...
zombie 47
User Offline
Joined: 13th Aug 2016
Location:
Posted: 17th Dec 2016 21:23
OK thank you ncmako

Login to post a reply

Server time is: 2017-04-28 11:14:12
Your offset time is: 2017-04-28 11:14:12