Hello Guest, please login or register.
Did you miss your activation email?
Login with username, password and session length.

Pages: [1]   Go Down

Author Topic: [Request / Listing] Having some troubles  (Read 2095 times)

0 Members and 1 Guest are viewing this topic.

Lightz

[Request / Listing] Having some troubles
« on: April 23, 2006, 07:58:07 am »
Well im not exactly a master at coding but I know a few things. Im having some difficulties with navi's "C" button. What im looking for is when the navi button is showing and I press "W" navi talks to you.(I got all that to work). Now the part im having troubles with. I want it so that after your done speaking to navi the button goes away. Any ideas?
« Last Edit: February 08, 2012, 10:35:39 am by Niek »
Logged

Piers

Re: Having some troubles
« Reply #1 on: April 23, 2006, 01:37:58 pm »
Have a global variable that is activated when she wants to talk to you then when she dosent turn it to false.

Ex:

if global.navi = true and keyboard_check(ord('W')){
 //text crap here
}
else
{
global.navi = false
}
Logged

Lightz

Re: Having some troubles
« Reply #2 on: April 23, 2006, 07:47:50 pm »
^^ Yes I have done that but it still is having no effect on the Navi button disappearing after you talk to her...
Logged

Piers

Re: Having some troubles
« Reply #3 on: April 23, 2006, 08:02:48 pm »
draw event:

if global.navi = true{
 draw_sprite(sprite_navibutton,0,xpos,ypos)
}
Logged

Lightz

Re: Having some troubles
« Reply #4 on: April 23, 2006, 08:12:29 pm »
Hum I think I see what the problem was....thanks for the help piers but I had all that just a little error on my part.
Logged
Pages: [1]   Go Up

 


Contact Us | Legal | Advertise Here
2013 © ZFGC, All Rights Reserved



Page created in 0.058 seconds with 42 queries.