Ts3hosting updated Npctp with a new update entry:
v2.3.2
Npctp
Create an NPC that will TP a player to anywhere, run commands, or open a door
Total Downloads: 1,052 - First Release: Nov 27, 2016 - Last Update: May 10, 2018
- 5/5, 5 likes
-
-
-
-
-
-
I love your script. Is it possible to open a specific locked door near the NPC when the players interact with your script?
-
im not sure how to go about that ill look into it cant do much untell npc core is updated.
-
-
-
-
-
stupid question do i have go around the map adding spawns in for the npc to do a random spawn ? also im having issues getting this to work i created a npc i added the following commands to it but nothing happens
/npctp_add <1736990288> <npcr>
/npctp_door <1736990288>
dont think this works lol ive tryed everything and it wont budge unless im doing it wrong a guide would be helpfullLast edited by a moderator: Feb 6, 2017 -
-
lol
-
do not use the <> example /npctp_add 1736990288
unload npctp and delete the datafile and reload the plugin first.
as i do not have a check for valid npc yet so it would of added that id to your datafile with the <> -
i created a new npc /npc_add then i get the npc number example 234234234 theni type /npctp_add <234234234> <npcr> press enter then i try to press e on the trader and nothign happens he just spins arround
-
sorry npctp_add
if your npc id is 234234234 then type like this /npctp_add 234234234
if you have a spawnfile and the spawn file name is npcr then /npctp_add 234234234 npcr
sorry im tired lol edited this. -
ok so just to confirm
add npc
edit npc with /npctp_add 234234234
then go up to it and press e to tp to a random spot??
if so it dosent work for me lol -
what do you want the npc to do first off so we know?
add the npc /npc_add
then get the npcID from the npc. you can get this by /npc_edit this will show you the id of the npc you looking at
to make the npc teleport you somewhere you must have a spawnfile you can read on how to create this here Spawns Database for Rust | Oxide
once you have a spawn file do this say your npcid is 123456789 and your spawnfile you saved is called npcr.
/npctp_add 123456789 npcr
[DOUBLEPOST=1486425666][/DOUBLEPOST]also if you failed to creat the npc you may have corupt your npctp_data.json go into your oxide/data/NpcTp folder and delete the data file with the plugin unloded.