ID:158750
![]() Jul 5 2009, 10:06 am
|
|
I was wondering if its possible to enable a set of macros when a verb is executed and disable it when another verb is executed and there are other verbs which are able to enable/disable more sets of macros. If its at all possible then can someone show me how?
|
With the addition of interfaces to 4.0, it is a much safer/better/smarter option to input the macros via the interface. You might want to look it up =).
|
Demon_F0rce wrote:
With the addition of interfaces to 4.0, it is a much safer/better/smarter option to input the macros via the interface. You might want to look it up =). Where would I look it up?, sorry if this seems like a silly question xD |
http://www.byond.com/members/ DreamMakers?command=view_post&post=33352 For the skin information, as well as the Skin Reference located... Somewhere XD.
http://www.byond.com/members/ DreamMakers?command=view_post&post=34405 For the macros information. The second link is just lesson 4 of the first. |
Wow. Notice any similarities between the proc and the command you're trying to call? You're using both wrong.
//From the DM Reference(F1 in Dream Maker): |
I think that is how you define macros, it has been a long time since I have made one. If I did that right, then that would be the same as calling src.myproc(1). I have also made myproc a little versatile in the sense that it can be called via macros, and then do the check, or on its own without the check. To call it without the check, you would just need to type src.myproc() or src.myproc(0)
That's about the only way I can think of to do this off-hand. Hope it is what you meant.