ID:148819
 
Uuuhhh how would you delete a camera so you can put a new one down??? From the code below:


obj/camera
var/owner
mob/hidden/verb/Set_Camera()
var/obj/camera/O = new(src.loc)
O.owner = src
src.verbs.Add(/mob/hidden/verb/View_Camera,/mob/hidden/verb/ Normal_View)
mob/hidden/verb/View_Camera()
for(var/obj/camera/O in world)
if(O.owner == src)
src.client.eye = O
src.lock = 1
break
else continue
mob/hidden/verb/Normal_View()
src.client.eye = src
src.lock = 0
mob/var/lock = 0
client/Move()
if(mob.lock) return
else return ..()

mob/verb/camera()
set hidden = 1
src.verbs.Add(/mob/hidden/verb/View_Camera,/mob/hidden/verb/ Normal_View,/mob/hidden/verb/Set_Camera)

Please help me with this coding!