So... I'm getting so close to finishing this game and I ran into another little snag and hoping someone can help me interpret what I did wrong.
I have this code run when entering one of two hallways if the flag "execution" is true.
if (GetBoolean(Commons, "execution")) {
play sound ("crowd1.wav", false, false)
n = GetRandomInt (0, ListCount (North South Hallway1.execute) - 1)
msg ("You crane your neck and listen, " + StringListItem(North South Hallway1,execute, n))
}
I have an StringList called 'execute' in the attributes of the North South Hallway1 where I have a bunch of messages like: Over the roars of the crowd inside, you can hear a voice. "The rule of the Dingo Empire is upon us. We shall not bow down to weakness."
When I enter the north south hallway1 I get the following error message - Error running script: Error compiling expression '"You crane your neck and listen, " + StringListItem(North South Hallway1,execute, n)': Unknown object or variable 'execute'
I'm sure it is something you code savvy folks will think I'm stupid for asking, but...
As always, I appreciate your help!
XanMag