How to Make NPC's interact with you?

Talk about anything related to Platinum Arts Sandbox here!
User avatar
CPG owner
Member
Member
Posts: 20
Joined: April 12th, 2012, 4:52 pm
Name: mark moellers

How to Make NPC's interact with you?

Postby CPG owner » April 15th, 2012, 11:47 am

Ok, so i probably sound like i don't know anything, but its true. I was wondering how to make, like the knight character, fight you or at least talk to you. how could I do that?

chocolatepie33
Support Team
Support Team
Posts: 2458
Joined: April 27th, 2010, 5:31 pm
IRC Username: CP

Re: How to Make NPC's interact with you?

Postby chocolatepie33 » April 15th, 2012, 12:30 pm

That depends on what mode you're using, as FPS mode and RPG mode have different scripting languages. Look around here and the wiki for tutorials on whichever one you need.
Julius wrote:Contribute to http://www.opengameart.org NOW!

Save the wiki!

User avatar
CPG owner
Member
Member
Posts: 20
Joined: April 12th, 2012, 4:52 pm
Name: mark moellers

Re: How to Make NPC's interact with you?

Postby CPG owner » April 15th, 2012, 12:34 pm

Ok, well I'm using FPS.

chocolatepie33
Support Team
Support Team
Posts: 2458
Joined: April 27th, 2010, 5:31 pm
IRC Username: CP

Re: How to Make NPC's interact with you?

Postby chocolatepie33 » April 15th, 2012, 12:41 pm

here's a tutorial I made a while back about basic FPS scripting, it might help you. Now that I think about it, I should probably go through and clean that up...

http://www.sandboxgamemaker.com/wiki/index.php?title=Ultimate_Simple_Script_Guide,_Part_1
Julius wrote:Contribute to http://www.opengameart.org NOW!

Save the wiki!

User avatar
CPG owner
Member
Member
Posts: 20
Joined: April 12th, 2012, 4:52 pm
Name: mark moellers

Re: How to Make NPC's interact with you?

Postby CPG owner » April 16th, 2012, 6:52 pm

yeah you should, because I cant get them to work at all. There are also things like the slider is gone...

chocolatepie33
Support Team
Support Team
Posts: 2458
Joined: April 27th, 2010, 5:31 pm
IRC Username: CP

Re: How to Make NPC's interact with you?

Postby chocolatepie33 » April 16th, 2012, 7:02 pm

Um... Oh great... what did you do? You probably edited the wrong file. Sounds like it.
Julius wrote:Contribute to http://www.opengameart.org NOW!

Save the wiki!

User avatar
CPG owner
Member
Member
Posts: 20
Joined: April 12th, 2012, 4:52 pm
Name: mark moellers

Re: How to Make NPC's interact with you?

Postby CPG owner » April 16th, 2012, 7:17 pm

Oh.. yah i did:(


Return to “Sandbox General Chat”

Who is online

Users browsing this forum: No registered users and 1 guest