mob
verb
Activate()
var/excellency = 0
for(var/obj/J in oview(1))
J.Activated(excellency)
world << "[excellency]"
obj
proc
Activated(excellency)
excellency = rand(1,100)
I find, that this doesn't work as i'd hoped, with 0 being displayed to the world, even when surrounded by objects, any idea what i'm doing wrong?, Or how to pass variables into procs, make the procs modify them, then pass them out?
Thanks in advance.
-Thorg