Jump to content
  • 0

Block player from moving and talk with npcs


Question

3 answers to this question

Recommended Posts

Posted (edited)

Walkable areas are determined by the maps gat tiles (selected in the map editor BrowEdit). You could script ways of preventing a player from accessing certain areas (an obvious example is something like the door in Eden Headquarters that you have to interact with to gain access to the hallway). You can add conditions to NPCs disguised as doors or warpportals to restrict access at different times of the days, steps of a quest, or a number of other things.

 

EDIT: Another option would be to do an invisible barrier like the one in the Rekenber Headquarters in Lighthalzen. If you walk into the study room on the main floor, you are kicked out by the guards. You could make a conditional NPC like that to warp players away if they enter an allow them to pass if the meet your requirement.

Hope this helps,
~Azura Skyy

Edited by AzuraSkyy
Posted

Like these script commands?

 

setcell "<map name>",<x1>,<y1>,<x2>,<y2>,<type>,<flag>;
 - setcell "schg_cas05",114,51,125,51,cell_walkable,0;
 - setcell "schg_cas05",114,51,125,51,cell_walkable,1;
 
setwall "<map name>",<x>,<y>,<size>,<dir>,<shootable>,"<name>";
 
disablenpc "<NPC object name>";
enablenpc "<NPC object name>";

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