rootKid Posted August 22, 2012 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
Emistry Posted August 22, 2012 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
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.
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.