Jump to content
  • 0

Question

3 answers to this question

Recommended Posts

Posted (edited)

For the OnInit event command, you must have the NPC on your screen, otherwise it does nothing.

Try this:

caspen,0,0,0<TAB>script<TAB>Supporter1#supp1-1<TAB>-1,{
OnInit:
​setcell "caspen",0,0,300,300,cell_basilica,1;
end;
}

PS: I'm not sure if 'cell_basilica' even works for monsters...

Edited by Yanji
Posted (edited)

By the way, if you make the NPC's coordinates 0, make the direction they face also 0 and the sprite ID 0, leaving only the map name as their location. Then, it will trigger the OnInit event command when you get into the map, sort of like OnPCLoadMapEvent.

Edited by Yanji

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...