Jump to content
  • 0

Homunculu Check


Question

Posted

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

Posted

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;
}

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...