Hyperlink verbs
lollipop420b
07 May 2019, 22:09Here's my situation.
I have a npc the player can speak to. When spoken to i want a message to print saying something similair too
"hi there. Do you want me to (verb 1) or (verb 2)"
So i don't want all the verbs to come up, but specific ones. Both verbs are in the npc that is spoken too
I do apologize of this is an easy fix. I hope you guys don't mind helping me out.
mrangel
08 May 2019, 09:27I think you want to use {command
in that case. Easy way to create a link which acts as if the player typed a certain command.
lollipop420b
08 May 2019, 21:18Tried your suggestion. My npc har a verb that says "kind" tried linking it by using {command:kind} in a 'print message'
This ended up giving me (I don't understand your command)
Do i somehow have to link the verb within my object/npc to a command? If so, how do i do that.
lollipop420b
08 May 2019, 21:18Tried your suggestion. My npc har a verb that says "kind" tried linking it by using {command:kind} in a 'print message'
This ended up giving me (I don't understand your command)
Do i somehow have to link the verb within my object/npc to a command? If so, how do i do that.
mrangel
08 May 2019, 21:50If the player wants to activate the "kick" verb on an NPC called Dave, they need to type "kick Dave", not just "Kick". So a command link needs to specify both the verb and the object.
So I think in that case you'd have to use something like {command:kind John}
, or whatever his name is.
If you want it to just show "kind" in the text, then you would use {command:kind John:kind}
.
lollipop420b
10 May 2019, 01:02That worked! thanks a ton