Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Npc responding to player….


Aeon Trag
 Share

Recommended Posts

Way more complicated then that.

As it currently operates, NPC's react via button interaction, go up to em and hit control button, and they either say whats typed into their editor, or run associated script.  They dont do anything just from a player typing.

Only decent thing I can think of, without you needing to completely recode npc's, is to make custom menu's for npc's with options for comvo, but thats a cheesy shortcut, and still horribly convoluted.  :(
Link to comment
Share on other sites

Hao do u know this is impossible, there is a / command list, isn't there, so why not make a command called "hello" which checks which map they are on, and calls for a playermsg if it is the right one here is what I would do (not tested tho)
```
Case "hello"
If GetPlayerMap(index) = your map #
Call Playermsg(index, "the npc says hello", BRIGHTGREEN)
Else
End If

```ok, add that to ur / commands (preferably at the bottom of them) but change the Your map # to the map # the NPC is on, and you can change the the npc says hello to whatever you want
(warning, hello in that is definately case sensetive, so watch out!)
Hope it works!
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...