Jump to content
  • 0

Block player from moving and talk with npcs


girotto000

Question


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  20
  • Reputation:   0
  • Joined:  01/18/15
  • Last Seen:  

Exist any command that block player from walk and talking to NPCS?

Link to comment
Share on other sites

3 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  49
  • Topics Per Day:  0.01
  • Content Count:  545
  • Reputation:   220
  • Joined:  03/01/13
  • Last Seen:  

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
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.00
  • Content Count:  164
  • Reputation:   55
  • Joined:  11/25/11
  • Last Seen:  

You could use one of the @options (perhaps @option 1 - use @option to see all allowable options)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  91
  • Reputation:   22
  • Joined:  10/24/14
  • Last Seen:  

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>";
Link to comment
Share on other sites

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.

×
×
  • Create New...