How do you place an object on the 1,1 loc of screen of every mob?
Ty
ID:168377
Oct 25 2005, 6:54 am
|
|
Oct 25 2005, 7:14 am
|
|
In response to Zmadpeter
|
|
Hide (/obj/Hide): Click(null)
runtime error: Cannot read null.hide proc name: Hide (/proc/Hide) source file: Game.dm,201 usr: Mysame (/mob) src: null call stack: Hide(null) Hide (/obj/Hide): Click(null) Hide(obj/j in oview(1)) |
In response to Mysame
|
|
Wich line is line 201?
O-matic |
In response to Mysame
|
|
from the way the tabs show
hide is a proc outside of that code and the error is that Hide(obj/j in oview(1)) asks you a input to be feed to it that matchs thous settings. var/obj/A = locate(/obj) in oview(1) if(A) Hide(A) fear the loss of dm tags! |
In response to Zmadpeter
|
|
1. I don't get ya
2. Line 201 is the else if line |
In response to Mysame
|
|
check the tabs on your code please
from what you posted HIDE() if else if are all one the same line (so the HIDE proc is set somewhere else) this is what leads to the error of J not being set. |
In response to Zmadpeter
|
|
No, thats automaticly when you (or I, atleats) copy/paste onto there forums -.-
|
In response to Mysame
|
|
Hide(obj/j in oview(1))
if(j) // there is a OBJ in oview(1) if(usr.IT) return else if(!j.hide) // if J is not hidden // you can remove the ! if you want just its a bit weird if its if J is hidden then warp to it usr.Move(locate(j.x,j.y,j.z)) |