Jump to content
  • 0

get creature data of summoner player from npc


girogius

Question

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.

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

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 :)

Link to comment
Share on other sites

  • 0
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
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.


×
×
  • Create New...