rootKid Posted August 22, 2012 Group: Members Topic Count: 24 Topics Per Day: 0.00 Content Count: 83 Reputation: 11 Joined: 11/28/11 Last Seen: March 31, 2024 Share Posted August 22, 2012 Is there a script command to check if the player has a homunculus out? So lets say the players talks to the warper NPC, the NPC checks if the player has a Homunculus out before warping them and will not warp them if they have a Homunculus out. Quote Link to comment Share on other sites More sharing options...
Emistry Posted August 22, 2012 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2371 Joined: 10/28/11 Last Seen: Thursday at 03:04 PM Share Posted August 22, 2012 make use of these... *gethominfo(<type>) This function works as a direct counterpart of 'getpetinfo': 0 - Homunculus unique ID 1 - Homunculus Class 2 - Name 3 - Friendly level (intimacy score). 100000 is full loyalty. 4 - Hungry level. 100 is completely full. 5 - Rename flag. 0 means this homunculus has not been named yet. 6 - Homunculus level try this if( gethominfo(0) ){ mes "You cant bring Homuncules."; close; } Quote Link to comment Share on other sites More sharing options...
rootKid Posted August 22, 2012 Group: Members Topic Count: 24 Topics Per Day: 0.00 Content Count: 83 Reputation: 11 Joined: 11/28/11 Last Seen: March 31, 2024 Author Share Posted August 22, 2012 Thank you very much. Quote Link to comment Share on other sites More sharing options...
Question
rootKid
Is there a script command to check if the player has a homunculus out? So lets say the players talks to the warper NPC, the NPC checks if the player has a Homunculus out before warping them and will not warp them if they have a Homunculus out.
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.