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 / Fps Creator: Active Win Zone with {ENTER}

Author
Message
Liquid Blaze
12
Years of Service
User Offline
Joined: 3rd Aug 2012
Location:
Posted: 6th Sep 2012 09:17
Hi

I want that I need to press {ENTER} while in a Win zone to use it[Not just walking in]. However I've changed the Win zone script but it seems to have no difference....


Any ideas?

Regards
Liquid
maho76
13
Years of Service
User Offline
Joined: 31st May 2011
Location: universe-hub, playing the flute
Posted: 6th Sep 2012 10:19
Quote: "3.17.1.5 PLRUSINGACTION=X
Description: Is true if the player is pressing the action button and X is 1 or the player is not pressing the action button and X is 0. The default action button is enter.
Range: X = 0 – True if player is not pressing action button,
X = 1 – True if player is pressing action button.
Example: :plrusingaction=1:state=1"


or

Quote: "3.17.1.6 SCANCODEKEYPRESSED=X
Description: Is true if the key corresponding to the key code X is pressed.
Range: X = Keycode see manual/community guide/ script syntax list."


both used as additional commands in the same line as "plrinzone=1".

its the same as in the other thread where you ask for enter>HUD.

Liquid Blaze
12
Years of Service
User Offline
Joined: 3rd Aug 2012
Location:
Posted: 6th Sep 2012 11:06 Edited at: 6th Sep 2012 11:13
So the Win Zone shall look like this?

Corno_1
14
Years of Service
User Offline
Joined: 3rd Nov 2010
Location:
Posted: 6th Sep 2012 13:43
NO


Public void likeFpsc{ System.out.println("I like FPSC!" ) ;}
http://forum.thegamecreators.com/?m=forum_view&t=196656&b=24
Liquid Blaze
12
Years of Service
User Offline
Joined: 3rd Aug 2012
Location:
Posted: 6th Sep 2012 13:59
Doesn't work it's like a normal win zone.
maho76
13
Years of Service
User Offline
Joined: 31st May 2011
Location: universe-hub, playing the flute
Posted: 6th Sep 2012 14:17 Edited at: 6th Sep 2012 14:18


try this, its altered with the keypressed-command and an additional line to avoid a mistake (not needed normally, but ... its fpsc^^), maybe plrusingaction is not that handy here.

Liquid Blaze
12
Years of Service
User Offline
Joined: 3rd Aug 2012
Location:
Posted: 6th Sep 2012 15:14
Thanks, it's working

Login to post a reply

Server time is: 2024-11-23 23:04:32
Your offset time is: 2024-11-23 23:04:32