Jump to content

petyrbaelish

Members
  • Content Count

    1
  • Joined

  • Last visited

Everything posted by petyrbaelish

  1. Hello Guys, im trying to do something like this, but i dont know how to get the mob id inside the event, and then inside the timer too... prontera,0,0,0,0 monster Testing Mob 3102,1,5000,0,mobScripts::OnMobSpawn - script mobScripts -1,{ OnMobSpawn: getunitdata($@mobid[0],UDT_HP, .mobhp); getunitdata($@mobid[0],UDT_MAXHP, .mobmaxhp); // do something with the data addtimer(2000, strnpcinfo(NPC_NAME_UNIQUE)+"::OnRecheck"); end; OnRecheck: getunitdata($@mobid[0],UDT_HP, .mobhp); getunitdata($@mobid[0],UDT_MAXHP, .mobmaxhp); // do something with the data end; } Can someone help me? im new on ragnarok scripting.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.