Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Monk on Thu 11/09/2008 09:19:23

Title: Urgent Verb Coin Issue.. [Solved]
Post by: Monk on Thu 11/09/2008 09:19:23
I'm using 3.0.2 sp 1, i wonder if theres any way to make the verbcoin gui appear only in a certain room?

ive made 4 rooms, 3 as intros, and 1 as player start... at room 1,2,3 i used the character visible "false" so the verb coin wont appear... then at room 4 the caracter visible "true"

the problem is, when i enter room 4 only the verbcoin and overhotspot gui that active, i cant right click to make the inventory appear...

p.s : this not an issue when i set all room charactet properties to "visible" but again, i need a couple of intros for the game

terribly sorry for my broken english... thank you..
Title: Re: Urgent Verb Coin Issue.. Please assist...
Post by: TwinMoon on Thu 11/09/2008 14:46:27
Add this to the room script of every room you don't want the coin to appear:

function on_mouse_click (MouseButton button) {
  ClaimEvent();
}
Title: Re: Urgent Verb Coin Issue.. Please assist...
Post by: Ali on Thu 11/09/2008 16:28:40
"Monk" PMed this question to me but I don't seem to be able to message back. It says that the member can't be found.  Anyway, this is what I would have said:

Hi,

I'm glad you liked Nelly. I was going to suggest posting in the beginners forum, but it seems that you've already got an answer there! I'm afraid I didn't use the built in verbcoin (because it didn't exist when I started writing the game!), so I wouldn't have been able to help much anyway.

Good luck with the game!

-Ali
Title: Re: Urgent Verb Coin Issue.. Please assist...
Post by: Monk on Fri 12/09/2008 05:41:29
@Twinmoon:

it worked like a charm! BEEG THANKS! i totally forgot about the general script event calling! meh.. silly me! again, thank you!

@Ali :

thanks for noticing the PM, I'm a beeg fan of yer artwork..! and thanks for the support, i hope my game demo will be able for testing soon!

p.s :
would you mind tutoring me about creating the in game settings GUI? :P

THANKS GUYS!