mob |
i get these errors
NPCs.dm:28:error: P: undefined type: P
NPCs.dm:29:error: P: undefined type: P
i thought i defined P by doing
var/mob/PC/P
|
ID:154663
Jan 23 2012, 6:54 am
|
|||
i have this specific code that is supposed to make the NPSc wander while i can see them on my screen
i get these errors NPCs.dm:28:error: P: undefined type: P NPCs.dm:29:error: P: undefined type: P i thought i defined P by doing
| |||
#1 Jan 23 2012, 7:18 am
|
|
No way to be sure but since it complains about an undefined type and not an undefined var, the first thought that crosses my mind is that you lack the definition of mob/PC somewhere
| |
#2 Jan 23 2012, 9:08 am
|
|
for(P in oview(6))
should be? for(var/mob/PC/P in oview(6)) Not a pro coder but, guessing as its not in the proc its not defined. | |