Jump to content
  • 0

get creature data of summoner player from npc


Question

Posted

Hi, first of all sorry for too many questions, I have custom skill which summons npc buffer for player... and what I want is get that player creaturedata in that npc buffer ai for some reasons....

 

i tried c0,c1,c2,c3,c4,master,summoner_id but they are null

Edit: myself.sm.master was solution.

 

Close admin.

4 answers to this question

Recommended Posts

  • 0
Posted

EventHandler CREATED(i0, c0)

{
        c0 = GetCreatureFromID(myself.sm.summoner_id);

}

 

You really should study existing retail AI and scripts, almost all your topics can be answered by having a look there :)

  • 0
Posted (edited)
14 minutes ago, Blitzkrieg said:

EventHandler CREATED(i0, c0)

{
        c0 = GetCreatureFromID(myself.sm.summoner_id);

}

 

You really should study existing retail AI and scripts, almost all your topics can be answered by having a look there 🙂

yes my bad, but I cant find one answer nowhere, how to limit user to summon only one npc and not many same time.

 

buffer was last part for my server after this i will not bodhte nobody here 😄

Edited by girogius
Guest
This topic is now closed to further replies.


×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock