Memory Game..~ with scripting..

This forum is meant for talking about just anything, including things that have nothing to do with Adventure Maker.

Moderators: time-killer-games, Vengeance66, Candle, reneuend, GM-Support

Memory Game..~ with scripting..

Postby mercedes » Tue May 27, 2008 4:53 am

I was wondering with the memory game that comes with Adventure Maker..i see that the Actions set in the advanced..are

Code: Select all
HotspotClick Action. GetHotspotNumber



Is this a random code..?..so that it changes everytime you play it..? Or do I have to put [hotspotnumber] according to spot..I am assuming I don't..?..I am assuming it changes..everytime you play it.

Also, I was hoping i could alter it a bit..and make it so the user has to get it in a certain amount of mistakes..In other words, get the whole board in say 30 or less mistakes and gain an item of course...Anything over that and they have to start over..and they don't get an item......:)..

Could someone please help me with this variable..or whatever it is I'm attempting here..

If I had to guess..I would say,

Make a hotspot on the same window and have it clicked when they get the board done..in under the amount or on the amount..and that , that hotspot..checks the board..?..also open something to get an item....

So make a variable called thirty_or_less..and once it gets met..thirty_or_less becomes 1...?..but it also has to check the amount..~

Not sure if this sounds right...or what..and what I would put for code..


Any ideas..?

Is this possible..?

Many Thanks..!!~ In advance..
User avatar
mercedes
VIP
 
Posts: 2460
Joined: Sun Mar 09, 2008 10:43 pm
Location: Canada..~

Postby Lyberodoggy » Tue May 27, 2008 9:20 am

The Action.GetHotspotNumber command returns to the engine a value indicating the number of the hotspot clicked... You mustn't edit that.


To help you with the rest I need to get my home internet fixed. Else you need to post some code which I can check for you.
User avatar
Lyberodoggy
Administrator
 
Posts: 2526
Joined: Sat Feb 17, 2007 3:31 pm
Location: Athens


Return to General Chat

Who is online

Users browsing this forum: No registered users and 0 guests