Count the hotspots in a frame

This forum is meant for requesting technical support or reporting bugs.

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

Count the hotspots in a frame

Postby juhuwoorps » Wed Mar 10, 2010 4:38 pm

Hello to all :)

Is there a way to get the count of hotspots are used in a frame?

I'm thinking about something like it works for frames:

Action.GetNumberOfFrames

but Action.NumberOfHotspots doesn't work!

TIA juhuwoorps
juhuwoorps
Code Master
 
Posts: 622
Joined: Tue Jul 08, 2008 3:13 pm

Postby juhuwoorps » Tue Apr 27, 2010 10:39 am

I don't want to bump this thread, but is here anyone who have an idea to solve this problem?
juhuwoorps
Code Master
 
Posts: 622
Joined: Tue Jul 08, 2008 3:13 pm

Postby ShadowHunter » Tue Apr 27, 2010 11:43 am

Hi,

Code: Select all
HotSpot.Count


For example: MsgBox HotSpot.Count

Note this returns the amount of hotspots including the default picturebox control (array element 0)

So you need to subtract 1 to have the correct amount :D

With best regards,

ShAdOwHuNtEr
User avatar
ShadowHunter
Forum Admin and Games Page admin
 
Posts: 1304
Joined: Fri Jun 06, 2003 10:37 pm
Location: Belgium


Return to Adventure Maker Technical Support and Bug Reports

Who is online

Users browsing this forum: No registered users and 0 guests

cron