ID:178642
Apr 21 2002, 5:33 pm
|
|
Ok I want to set predifined macros but I dont want the player to beable to use the verb except through the macro. Is this possible?
|
In response to Foomer
|
|
Would it go in the dms file?
|
In response to BurningIce
|
|
Works just fine in a .dm file.
|
In response to Foomer
|
|
Its not working if you make it a letter do you still put the () after it?
|
In response to BurningIce
|
|
Never Mind I'll just make a verb.
|
You could make it a hidden verb with a ridiculously long and complex name that no one would ever guess. Hidden verbs are not visible in the verb panels and are not auto-completed when you hit the spacebar.
|
How do you make macros at all? I looked up the macro proc but I get errors. I even get errors if I paste it in from the help, and it is exactly the same.
|
In response to Loduwijk
|
|
Macros like this:
<code>macro a return "say a"</code> ...need to be placed in the .dms file, not .dm files. I just figured that out yesturday, too :o) Replacing the default macros is a lot easier and more useful, though, since you can just override their procs (in the .dm file) like this: <code>client.North() mob.say("Hello.")</code> |
<code>client.Center() mob.Jump() mob/proc/Jump() //do jump stuff</code>
Just don't expect any of the nifty input options you get with verbs.