BYOND Version:4.22
Operating System:Windows XP
Web Browser:Firefox/Netscape
Descriptive Problem Summary:
error: expected ':'
Numbered Steps to Reproduce Problem:
use a ? using only defined [things]
Code Snippet (if applicable) to Reproduce Problem:
layer=hiding?TURF_LAYER:MOB_LAYER
Expected Results:
to compile
Actual Results:
error: expected ':'
Does the problem occur:
Every time? Or how often?Everytime
In other games?I don't see why not
On other computers?Yep
In other user accounts?Yep
When does the problem NOT occur?When you get rid of the definitions
Workarounds:
sience its a definition you can just use the difined value like turf_layer=2 mob_layer=4.
**Edit**
on future inspection it happens not to be all defines
nor is it defines with underscores..
Just the built in definitions don't work
the dirs[SOUTH,NORTH]
the steps[NO_STEPS]
the layers[MOB_LAYER]
all of those don't work