Welcome to MaxCheaters.com

Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads

  • 0

Help get creature data of summoner player from npc


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.

Share this post


Link to post
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 :)

Share this post


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

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.