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 Product Chat / Switch question

Author
Message
rakker126
16
Years of Service
User Offline
Joined: 12th Sep 2008
Location:
Posted: 1st May 2009 18:11 Edited at: 1st May 2009 18:30
is it possible to have a remote door first open and when te button is pressed closed?

I want to use it for a puzzle in my newest game...

SO:
NO SWITCH
Door 1: Open
Door 2: Closed

SWITCH
Door 1: Closed
Door 2: Open

Now in the W.I.P. forum: operation sunlight
http://forum.thegamecreators.com/?m=forum_view&t=149451&b=25
Leon Kennedy
16
Years of Service
User Offline
Joined: 7th Sep 2008
Location: Neither here nor there
Posted: 1st May 2009 18:39
I think with the right script it could be done. You'd have to create a script that's a hybrid of the remote door and the use door scripts. And as far as I know, this doesn't currently exist.

Priest of the Church of Joe Wood
rakker126
16
Years of Service
User Offline
Joined: 12th Sep 2008
Location:
Posted: 1st May 2009 18:42
I try:

;Artificial Intelligence Script

;Header

desc = Remote Controlled Door (Open and Close)

;Triggers

:state=0,activated=0:state=1,setframe=0,sound=$0
:state=1:incframe=0
:state=1,frameatend=0:state=2,coloff
:state=2,activated=1:state=3,sound=$1,colon
:state=3:decframe=0
:state=3,frameatstart=0:state=0,setframe=0

;End of Script

I've changed the active state but now the switch wont work and the door neither, does anyone know a solution?

Thanks!

Now in the W.I.P. forum: operation sunlight
http://forum.thegamecreators.com/?m=forum_view&t=149451&b=25
Mr Love
19
Years of Service
User Offline
Joined: 9th Jun 2005
Playing: MAFIA 2
Posted: 1st May 2009 18:59
Yes, its possible..

"Right Man in the wrong place can make all the difference in the world"
rakker126
16
Years of Service
User Offline
Joined: 12th Sep 2008
Location:
Posted: 1st May 2009 19:11
Quote: "Yes, its possible.."




But how, i tried to inverse the scipt but it didnt work...

Now in the W.I.P. forum: operation sunlight
http://forum.thegamecreators.com/?m=forum_view&t=149451&b=25
Mr Love
19
Years of Service
User Offline
Joined: 9th Jun 2005
Playing: MAFIA 2
Posted: 1st May 2009 19:25
First You can change the animation if it isnt enough with coding..
I dont have My Desktop up and working right now so I cant help.
Ask at the scripts board, They might fix it for You...


A BEER FOR YOU...

"Right Man in the wrong place can make all the difference in the world"
rakker126
16
Years of Service
User Offline
Joined: 12th Sep 2008
Location:
Posted: 1st May 2009 19:28
A beer for you


Cheers!

I'll try

Now in the W.I.P. forum: operation sunlight
http://forum.thegamecreators.com/?m=forum_view&t=149451&b=25
rakker126
16
Years of Service
User Offline
Joined: 12th Sep 2008
Location:
Posted: 1st May 2009 22:18
I think it isnt possible... Ashame had a great idea....

Now in the W.I.P. forum: operation sunlight
http://forum.thegamecreators.com/?m=forum_view&t=149451&b=25

Login to post a reply

Server time is: 2024-10-16 09:24:52
Your offset time is: 2024-10-16 09:24:52