Create NPC who makes it possible teleport

Hi All,

I am trying to create a NPC (The busdriver) - where players should be able to via the chat function be able to teleport to predefined areas.
I failed to find documentation - but I hoped the game would “just” read the asset.dat file and execute commands.

Below is the current “try” - the dialog seams to work, however the reward is not given. Clearly I have some false assumptions here - however I hope the below data show exactly what I try to accomplish.

Thanks in advance,
me, myself and I :wink:

– NPCs\Dialogues\Bus_Portlands\Welcome\English.dat
Message_0_Page_0 Hello <color=common><name_char>, Where do you want to go?

Response_0 Portlands
Response_1 Goodbye.

– NPCs\Dialogues\Bus_Portlands\Welcome\asset.dat
GUID b94cf16511c24434bb98efe6dc3b74b2
Type Dialogue
ID 5050

Messages 1
Message_0_Pages 1

Responses 2
Reward_0_Type Teleport
Reward_0_Spawnpoint nummer
Response_1_Dialogue 5001

2 Likes

Hi There,
I think I know how to do this.

Use this:
Responses 2
Response_0_Rewards 1
Response_0_Reward_0_Type Teleport
Response_0_Reward_0_Spawnpoint nummer
Response_1_Dialogue 5001

No needs to thanks me, I am you!

6 Likes

Bro how can you be me? I am fucking shaking.

9 Likes

Wait what the fuck

3 Likes

He has ascended to a new level of talking to yourself. I think we should take him down before it’s too late.

4 Likes

quick, take him out before it’s too late

5 Likes

Huh, seems like a task due to the limits of Unturned. I’m going to watch this, seems interesting.

It really isnt that big of a task, npc teleporting has been supported for awhile now you just have to put the nodes down in the editor.

5 Likes

Oh, really? I honestly had no idea.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.