Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Quest Editor Problem
#11
Public Map As MapRec

That right there, is what allows you to do map.name and such.

You need one for the questrec, otherwise you'll never get it to work.

Your questrec is needed, first off, because you're trying to use a user defined type (UDT) and it has to be defined. Then, you have to define something else, AS that UDT, in order to use the UDT. Without that, it won't work.

That's most likely your issue.

Other examples:

Public TempTile(0 To MAX_MAPX, 0 To MAX_MAPY) As TempTileRec
Public Player(1 To MAX_PLAYERS) As PlayerRec
Public Class() As ClassRec
Public Item(1 To MAX_ITEMS) As ItemRec
Public Npc(1 To MAX_NPCS) As NpcRec
Public MapItem(1 To MAX_MAP_ITEMS) As MapItemRec
Public MapNpc(1 To MAX_MAP_NPCS) As MapNpcRec
Public Shop(1 To MAX_SHOPS) As ShopRec
Public Spell(1 To MAX_SPELLS) As SpellRec
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)