ID:147678
 
mob
Pc
icon = 'Turf.dmi'
icon_state = "PC"
verb
Camera()
set src in oview(1)
set category = "Activate"
switch(input("Which floor would you like to veiw?","Cameras", text) in list("Floor1","Floor2"))
if ("Floor1")
src.client.eye = (6,46,1)
if ("Floor2")
src.client.eye = (6,7,1)

I am getting Camera's in my game so the players can check out each level of building and roughly veiw up and the amount of Bad guys they are but the Src.client.eye lines won't work... Please can you help in what i should put XD thank you

Ultifighter
You forgot the locate command:

src.client.eye = <font color=#aa0000>locate</font>(6,46,1)
and
src.client.eye = <font color=#aa0000>locate</font>(6,7,1)
In response to Shadowdarke
Thank you :D
Uuum, isnt the src the PC?
Think you need to set the usr.client.eye . . .
In response to Fint
Fint wrote:
Uuum, isnt the src the PC?
Think you need to set the usr.client.eye . . .
XD thank you.. I was wondering why it wouldn't work.

XD i get a blank screen now (NOO..) will it ever end

mob
PC
icon = 'Turf.dmi'
icon_state = "pc"
verb
Camera()
set src in oview(1)
set category = "Activate"
switch(input("Which floor would you like to veiw?","Cameras") in list ("Floor1","Floor2","Floor3","Floor4","Floor5","Floor6","Floor7 ","Floor8","Floor9","Floor10"))
if ("Floor1")
usr.client.eye = locate(95,27,1)
if ("Floor2")
usr.client.eye = locate(56,82,1)
if ("Floor3")
usr.client.eye = locate(32,80,1)
if ("Floor4")
usr.client.eye = locate(14,49,1)
if ("Floor5")
usr.client.eye = locate(39,23,1)
if ("Floor6")
usr.client.eye = locate(73,53,1)
if ("Floor7")
usr.client.eye = locate(90,68,1)
if ("Floor8")
usr.client.eye = locate(18,60,1)
if ("Floor9")
usr.client.eye = locate(27,9,1)
if ("Floor10")
usr.client.eye = locate(63,2,1)


This is what i got hmmmmm.. please help me find the problem.
In response to Ultifighter
perspective var (client)
See also:
eye var (client)
mob var (client)
Default value:
MOB_PERSPECTIVE
Possible values:
MOB_PERSPECTIVE, EYE_PERSPECTIVE
This determines how visibility calculations are performed when client.eye and client.mob are different. Normally, visibility is done from the position of the mob, rather than from the eye (which is actually just the center of the map view).