Just a curiosity question really... is there a way to do declare every verb in the game..
as an example:
currently using:
verbs+=typesof(mob/Player/verb)
verbs+=typesof(mob/Player1/verb)
verbs+=typesof(mob/Player2/verb)
want:
verbs+=typesof(/mob/everymobinthegame/verb)
is it possible or would i have to use the seperate commands??
ID:273043
Aug 2 2009, 2:21 pm
|
|
Aug 2 2009, 3:10 pm (Edited on Aug 2 2009, 3:22 pm)
|
|
In response to Kaiochao
|
|
thats great, but although it gets all the verbs in a list, i cannot then select from tht list a usable verb..
eg. say i had a verb such as Speak() in the list, if i try and pick it from the list, by using input("")in allverbs then the usr.verbs+= proc returns "runtime error: wrong type of value for list" << do you know a way round this?? |
In response to Kozar's friend
|
|
to add onto the other guy's code; can't you do verbs = allverbs? <_<
|
In response to Super Saiyan X
|
|
na, i can add all types of a single mob's verbs, if the mob is chosen from all the mobs.. but what i cant seem to do is add a single verb at a time..
using: var/MOB=input("Which mob?")as null|anything in typesof(/mob) i can then use this to add all types of VERB and it works.. but cannot use it as var/SELECT=input("Which verb?")as null|anything in typesof(VERB) as this does indeed work properly.. but when adding the verb to the usr, the variable type isnt correct.. and i dunno how to define it as a verb.. var/verb doesnt work.. can ya understand the problem?? |