⚠ Cookies ⚠

By continuing to use this site you agree to the use of cookies. Please visit this page to see exactly how we use these.

Projects

AGS EngineRoomsCount Stuff
VincentWell, I have notice that there is: [b]Game.CharacterCount, Room.ObjectCount, Game.MouseCursorCount, Game.InventoryItemCount, Game.GUICount, Game.FontCount, Game.DialogCount, Game.AudioClipCount[/b] but nothing regarding: [b]Room.HotspotCount[/b] or [b]Room.RegionCount[/b]. Because I would like to do something like this so far.
[code]
for (int i = 0; i < Room.HotspotCount; i++)
{
  hotspot[i].Enabled = false;
}

for (int i = 0; i < Room.RegionCount; i++)
{
  region[i].Enabled = false;
}[/code]

Crimson WizardThat's because AGS does not count them. There is no way to add hotspot or remove hotspot, all areas (hotspots, regions and walkable areas) are always created in every room.

There is always 50 hotspots, 15 walkable areas and 16 regions.
VincentI understand, thanks for the clarification CW!
© Adventure Game Studio 2024. Page design by loominous and Darth Mandarb; coding by AGA.
Page generated on 06 May 2024 at 15:15:09