Say kills or somthing and then once it hits 4 have an npc spawn.
if some can someone tell me how you define variables in perl?
How does this look?
Code:
$orcmysticsdead = 0;
sub EVENT_DEATH {
$orcmysticsdead = $orcmysticsdead + 1
if ($orcmysticsdead = 4){
quest::unique_spawn(999149,0,0,1652,1535,-9,heading=69)
}
}
is that the correct usage of
quest::unique_spawn(npc_type,grid,guildwarset,x,y, z,heading=0)