Make_GM(mob/M as mob in world) |
Problem description:
It works but the user doesn't get the GM verbs
Code:
Problem description: It works but the user doesn't get the GM verbs | ||
#1 Jul 10 2012, 9:36 am
|
|
src in this case is the one using the verb. You'd want to give M the verbs.
| |
#2 Jul 10 2012, 1:00 pm
|
|
Technically the user DOES get the GM verbs btw. User is the thing calling a verb.
| |
#3 Jul 10 2012, 1:00 pm
|
|
oh dat was Stupid of me -______-
| |
#4 Jul 10 2012, 1:02 pm
|
|
i but it doesnt show
| |
#6 Jul 10 2012, 1:07 pm
|
|
O_O darker helped me
| |
#7 Jul 10 2012, 1:20 pm
|
||
Code:
Problem description: Same thing :/ | ||
#8 Jul 10 2012, 1:37 pm
|
|
Same problem. LordAndrew told you how to solve it, and you did the opposite.
| |
#9 Jul 10 2012, 1:47 pm
|
|
Thanks
| |
#10 Jul 10 2012, 1:56 pm
|
||
Here's the confusing part:
Both use proper syntax for choosing an object for use with a verb. The confusing part: For test1(), src and usr are always the same (the verb typer/clicker) and m is always the target. For test2(), src is always the target, and usr is always the player who typed the verb or clicked it in a statpanel or context menu. | ||
You're using set src in view(), which changes the src to whatever's in view. This is often used for NPCs, so you can talk to them when you get close.
| |
#12 Jul 11 2012, 8:17 am
|
|
Are the verbs suppose to go away when they log out cause it does :/
| |
Since isGM is saved, you can check that after loading and add the verbs again. You could set it more specifically to let the verb rebuilding procedure know which verbs to add. i.e. set isGM to "GM1" instead of just 1.
| |
#14 Jul 11 2012, 8:32 am
|
|
ok
| |
#15 Jul 11 2012, 8:38 am
|
|
but does that mean next time they login if i give them Co
they only get GM3 set | |
#17 Jul 11 2012, 1:56 pm
|
|
ook
| |