proc
battlee(list/partyL,list/enemiesL)
var/list/turnorderlist = list()
var/list/MOBlist = list()
var/list/moblist = list()
var/list/enemylist = list()
var/list/playerlist = list()
How do I access them using verbs such as
mob/verb
View_Players()
ID:158505
Aug 14 2009, 10:22 am
|
|
So if I have vars inside a proc such as
proc How do I access them using verbs such as mob/verb |
Aug 14 2009, 10:43 am
|
|
Strictly answering the question: you can't access a proc's local vars outside of that proc. That's why they're called as such. They only exist when the proc is running, and can only be accessed by it.
|
In response to Kaioken
|
|
k, thanks, guess I have to change up my battle system then
|
In response to Sandlight
|
|
IIRC, I've already advised to you more than once to use a datum to handle battles, and others have as well. That would've made that verb a breeze, along with other things.
|