Main      Site Guide    
Message Forum
Smash
Posted By: Tim, on host 24.20.55.114
Date: Thursday, August 2, 2007, at 16:42:05

Could someone with AGL experience help me out here?

I'm using Rex to make a game. I want to display images. However, unlike the Command Documentation's example, if I try to use the i command as the result of an option, Rex won't do it:

Command "i" in the wrong context. This command is not allowed in code parsed in (or in a function called from) an option code block.
Line: "i map.png"
Parsing was stopped at that point.

"i" works if it's not in an option block, and I can always make a state variable, like view_map, and have it set each time the button is pressed, but that seems rather ugly compared to

* map Look at the map.
i map.png

Why won't this work? It seems like it should.

Replies To This Message

Post a Reply

RinkChat Username:
Password:
Email: (optional)
Subject:
Message:
Link URL: (optional)
Link Title: (optional)

Make sure you read our message forum policy before posting.