ID:173690
 
I'm trying to define client.eye and client.perspective so that they stay constant until I change them, but when I insert the coding for it, it keeps giving me errors.
client
eye = locate(7,7,1)
perspective = locate(7,7,1)

But it keeps giving me the error:
Thingy.dm:2:error::expected a constant expression
Thingy.dm:3:error::expected a constant expression
You cannot set a variable to another variable at compile. locate(x,y,z) returns a value but is not itself a constant value. Try setting those in client/New().
In response to sapphiremagus (#1)
If I set client.eye and client.perspective in client/New(), it refuses to launch the executable.
In response to Enigmaster2002 (#2)
The perspective var takes constants like EYE_PERSPECTIVE, not atoms. Perhaps the program began as requested, but was immediately confused by the perspective when you came on.