Ok So i need help working on A Conversation With a npc
Like For Example
Citizen: Hello
Respone: Hi Can i Get Some Direction's
i Did The tutorial viewtopic.php?f=24&t=681&p=5564&hilit=npc#p5564
But It Dident Work so i was Wondering If Any One Else Can Help With That like Show The The Script or How the script Works
Also I Did The Tutorial
viewtopic.php?f=24&t=22
But He Only Talked To me Once unless I Restarted The map so can anyone tell me how to make it That Every Time I Came Near He Would Talk
Hi! Welcome to the forum for Platinum Arts Sandbox Free 3D Game Maker. I currently have the forums locked as I am attempting to properly update them.
In the meantime please join the new Discord Server!
If you have any questions please e-mail me through the Platinum Arts website.
In the meantime please join the new Discord Server!
If you have any questions please e-mail me through the Platinum Arts website.
Npc Help
- Leo_V117
- Support Team
- Posts: 1640
- Joined: February 16th, 2010, 8:00 pm
- Name: Leo
- IRC Username: Leo_V117
- Location: That one place...
- Contact:
Re: Npc Help
here:
Use that. Paste it over "Talky" in "game_rpg"
Code: Select all
spawn_Civillian = [
r_model "rpg/characters/npcman"
r_name "Civillian"
r_interact [
r_select $rpginterract
r_talk $rpgself 0
]
r_say "Hello there friend. How may I be of assistance to you?." [ //0
r_response "Can I ask you a few questions?" 1
r_response "Shall we trade?" -2
r_response "Nothing at present, Farewell" -1
]
r_say "Certainly, I'll do my best to answer." [ //1
r_response "Where are you from?" 2
r_response "Do you know how to get to the reactor?" 6
r_response "Shall we trade?" -2
r_response "Farewell" -1
]
r_say "I am from the Island of Hope, I moved here to get a better job." [ //2
r_response "I see, perhaps you'd allow me a few more questions." 1
r_response "Farewell." -1
]
r_say "Not at all. If you stick together and help each other, you'll be fine." [ //3
r_response "Oh, thats a releif. But what about the mansion? Won't we need a key?" 4
r_response "I see, perhaps you'd allow me a few more questions." 1
r_response "Farewell." -1
]
r_say "Yes, the key is deep inside the crypt inside a black tomb." [ //4
r_response "Crypt? Black Tomb? This will be easy." 5
]
r_say "It may seem easy, but within the crypt are the remains of those who were buried there. They will protect the Key at all costs. Take caution with every stride, the owner set traps to protect his wife's tomb." [ //5
r_response "Sounds scary, but I'm up for it?" 7
r_response "Oh no, ill find another way in. Farewell" -1
]
r_say "Yes, Head through the mines and towards the mansion. The entrance to the labs is under the mansion." [ //6
r_response "Into the Mines? Isnt that a little dangerous?" 3
r_response "Thank you, Could I ask you a few more questions?." 1
r_response "Thank you and Farewell." -1
]
r_say "Make sure you have everything you need before you leave. Talk to the merchant over there and see what he has, or talk to the blacksmith at the Armory to see if you can buy anymore armor." [ //7
r_response "Thank you, I'll be on my way." -1
r_response "Have you got anything interesting that I can trade for?" - 2
r_response "Thank you, Can I ask you a few more questions?" 1
]
]
Game Projects
Sandbox Tools
-
- Support Team
- Posts: 2734
- Joined: January 13th, 2010, 12:42 pm
- Name: Timothy
- IRC Username: I use Steam
- Location: Looking over your shoulder...
- Contact:
Re: Npc Help
actually Malk realized that he forgot the triggers on the mapmodel! So it's fixed. 


Want a user bar like this one? PM Leo!
- Leo_V117
- Support Team
- Posts: 1640
- Joined: February 16th, 2010, 8:00 pm
- Name: Leo
- IRC Username: Leo_V117
- Location: That one place...
- Contact:
Re: Npc Help

Reason: Moved to support as this is a support related question
うるさいうるさいうるさい!
github: https://github.com/damianb/
github: https://github.com/damianb/
- Leo_V117
- Support Team
- Posts: 1640
- Joined: February 16th, 2010, 8:00 pm
- Name: Leo
- IRC Username: Leo_V117
- Location: That one place...
- Contact: