SRL Archive - Help and Support

Unknown identifier ''


RISK

2012-02-09 23:02:10

(* Do not modify these values: *)
// SPS Information
SURFACE = RUNESCAPE_SURFACE;
AREAS = '9_6';

// SPS points
// Center of Monastery
CENTER = Point(0, 0);

// Left side of Monastery
CENTER_LEFT = Point(0, 0);
TOP_LEFT = Point(0, 0);
BOTTOM LEFT = Point(0, 0);

// Right side of Monastery
CENTER_RIGHT = Point(0, 0);
TOP_RIGHT = Point(0, 0);
BOTTOM_RIGHT = Point(0, 0); // Abbot Langley is at this point

// Integers for players
MONKS_KILLED = 0; // Int[0]
LEVELS_GAINED = 1; // Int[1]
TIME_RAN = 2; // Int[2]
TIMES_HEALED = 3; // Int[3]
(* *)

"Unknown identifier '' at line 22".
Line 22 is "CENTER = Point(0, 0);".

I'm not sure how to fix this. I assume it's because I am trying to use points for constants, but I wouldn't imagine that it would throw out an error.

Any help would be appreciated. :)

Thanks!

Wow, sticking Simba code on to the forums really messes it up.

Daniel

2012-02-10 01:10:49

From: RISK
I assume it's because I am trying to use points for constants

You are correct. You can only store simple types in constants.

RISK

2012-02-10 03:39:43

I see. Thank you very much, Daniel. I appreciate the information and confirmation of my suspicions. :)