I want to make it so when you click a HUD it activates a verb how would i do this?
P.S. how can i use mob variables in objects?
ID:164843
![]() Apr 7 2007, 4:31 am
|
|
*insert a random "reply to wrong post like talking to furniture" style sentence here*
I figure you're referring to Troubadour - HE referred to, with call(), to the OP's 'activate verbs' part, which I corrected him about seeing as it doesn't require call(). |
i tried calling a verb through call() and regular but i am getting errors(for the calling it regularly it says invalid proc)
P.S. I've seen this done before but i dont know where but you can use a persons variable in an object like a HUD |
You don't execute a verb using Click(). You do what the verb would do with Click().
Example: Set what an attack verb would do as Click() instead of a verb Attack(). |
mob/verb/MyVerb() This should work. However, you may want to work something out with input() or something if you want to do a say verb. |
Pyro_dragons wrote:
You don't execute a verb using Click(). You do what the verb would do with Click(). Pyro, he's telling you that he wants to execute the verb. So instead of telling him that he doesn't want to do that, tell him how. mob/verb/Attack() |
LastTroubadour wrote:
Pyro, he's telling you that he wants to execute the verb. So instead of telling him that he doesn't want to do that, tell him how. Why bother having both a verb and a click-able HUD for it? Kinda defeats the purpose of an HUD shortcut. |
Pyro_dragons wrote:
Why bother having both a verb and a click-able HUD for it? Kinda defeats the purpose of an HUD shortcut. There are obviously reasons you could want that. For example, you could let the player toggle the HUD if he wishes, so he can actually see his whole screen (:P). Also, again, thats HIS consideration. He asked for help with one thing, and you're telling him he doesn't need it with no basis. |
Also look up Click().