Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Blt Item Name
#5
should be a really easy code...

in gameloop... something like...

Code:
for i = 1 to max_map_items
    if map.item(i).spawned = true then
        Call BltItemName(i)
    end if
next i

Code:
Sub BltItemName(ByVal ItemNum as Byte)
' THen in here, just do a Blt like you would with the NPCNames or whatever, but just do it for Map.Item(ItemNum).X/Y
End Sub


Yeah and that wasn't anywhere near correct code. I haven't touched VB in 3 or 4 months... and i don't even really remember how the client handles map items (if they're a part of the Map UDT or not)... just look at that and a few of the global constants and figure it out. It should be really easy to do.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 3 Guest(s)