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 / Modify Door Remote script

Author
Message
MatB
14
Years of Service
User Offline
Joined: 26th Apr 2010
Location:
Posted: 3rd May 2010 10:18
Hi all,

Wondering if anyone may be able to help. I am trying to create a script(s) that will allow multiple switches to play different animation ranges on the one entity, i.e. different switches activating different animations on the one entity.

Has anyone done this? i thought I might be able to modify the doorremote.fpi script but don't even know where to start.

Thanks in advance,
Mat
bobochobo
16
Years of Service
User Offline
Joined: 9th Jul 2008
Location: My house, in the middle of my street
Posted: 3rd May 2010 21:31
This might work, or it might not, or it might only work with Fenix mod, but I'm not sure what else you could do:

For the switch 1


For switch 2


For the enitiy you want to animate


MatB
14
Years of Service
User Offline
Joined: 26th Apr 2010
Location:
Posted: 4th May 2010 02:14
Thanks for the script Bobochobo - no luck however.

These are the scripts I used:


;Artificial Intelligence Script

;Header

desc = Use Switch (animated lever)

;Triggers

:state=0:hudreset,hudx=50,hudy=90,hudimagefine=gamecore\text\pressentertouseAlt.tga,hudname=useswitchprompt,hudhide=1,hudmake=display,state=10
:plrdistwithin=100:hudshow=useswitchprompt,hudfadeout=useswitchprompt

:state=0:state=1
:state=1,plrusingaction=1:setvar=10,state=3


;End of Script


;Artificial Intelligence Script

;Header

desc = Remote Controlled Door (Open and Close)

;Triggers

:state=0:state=1
:state=1,varequal=10:animate=1
:state=1,varequal=20:animate=2

;End of Script

Where do you think I might have gone wrong?

Login to post a reply

Server time is: 2024-11-24 23:44:08
Your offset time is: 2024-11-24 23:44:08