var
Month=0
Year=0
proc
Time()
while(1)
sleep(100)
Ageing()
global.Month++
world<<output("Repop(Ageing): <b> Month:[Month] - Year , [Year]</b>","chatOutput")
if(global.Month==12)
global.Month=0
global.Year++
mob/proc
Ageing()
var/player/p=src
if(!p)
return
else
while(p.logged)
p.age+=0.1
world<<output("It is now Year:[Year], Month:[Month]","chatOutput")
Problem description:
Pretty self explanitory of what I'm trying to do here, is there a certain type to call for mob procs in global procs? Like for that specific line.
proc
Time()
while(1)
sleep(100)
Ageing()// It gives me an error at Compile: Ageing Undefined Proc
I've never really understood global procs and global vars intertwine with mob vars and mob procs if that makes any sense.
... are you trying to call the Ageing proc for every mob?
Loop through your list of players (or all clients on the server), call the proc on their mob.