ID:176348
 
For some reason with the code:

            verb
Follow()
set src in oview(6)
client:eye = src

But when i use the verb in the game i get the runtime error:

runtime error: Cannot modify null.eye.
proc name: Follow (/mob/units/soldiers/Commander/verb/Follow)
usr: Koolguy900095 (/mob)
src: Commander (/mob/units/soldiers/Commander)
call stack:
Commander (/mob/units/soldiers/Commander): Follow()

Please help me, thanks in advance!
-Crio

It means client is null. In other words, nobody is connected to the mob (<code>src</code>).
In response to Crispy
How would i fix this?
client.eye = src


client wasn't defined in the proc, therefor does not need a :.

I don't know if that is your problem because it should not read usr.client as being null, but that should work for I don't see anything else wrong. If that doesn't work there has to be something somewhere else that is wrong.
In response to Koolguy900095
usr.client.eye, not src.client.eye.