30-08-2008, 03:51 PM
So.. Simply, I'm adding guilds and a guild master, When you click the guild master the Guild Creation should open..
How exactly do I get it to check the exact tile I click to check for the NPC_BEHAVIOR_GUILDMASTER?
I figured something like,
But that makes it so when I click anywhere on the map, any map, the Guild Form Opens... Any Ideas on how this should be done?
Thanks.
How exactly do I get it to check the exact tile I click to check for the NPC_BEHAVIOR_GUILDMASTER?
I figured something like,
Code:
Sub CheckGuildMaster()
If NPC_BEHAVIOR_GUILDMASTER Then
frmGuild.Visible = True
Else
Exit Sub
End If
End Sub
But that makes it so when I click anywhere on the map, any map, the Guild Form Opens... Any Ideas on how this should be done?
Thanks.