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 / shoot and open door

Author
Message
the ultimate gamer
18
Years of Service
User Offline
Joined: 30th Jul 2006
Location:
Posted: 22nd May 2007 22:21
I have tried to get this script to work and am not having much luck. I am using it to open a door. Here's the script.



As of right now nothing happens. I have never scripted before so atleast i'm trying. Any help would be greatly appriciated.

hi
xplosys
18
Years of Service
User Offline
Joined: 5th Jan 2006
Playing: FPSC Multiplayer Games
Posted: 22nd May 2007 22:38
I got this to work, but you need to give the door a strength other than 0, or it won't register shotdamage.

Quote: ";Artificial Intelligence Script

;Header

desc = Shoot to open door

;Triggers

:state=0,shotdamage=1:state=1
:state=1:incframe=0
:state=1,frameatend=0:state=2,coloff

;End of Script"


Best.

I'm sorry, my answers are limited. You must ask the right question.

the ultimate gamer
18
Years of Service
User Offline
Joined: 30th Jul 2006
Location:
Posted: 22nd May 2007 23:00
Thank you very much. Im sure any one can use this script for almost any purpose.

hi
Pus In Boots
19
Years of Service
User Offline
Joined: 5th Nov 2005
Location: S.M.I.L.E. industries
Posted: 26th May 2007 14:41
Just like the Metroid games. Nice idea.

Please sign here

Login to post a reply

Server time is: 2024-11-23 18:18:47
Your offset time is: 2024-11-23 18:18:47