Just Adventure News : Press Release: Divines of the East Class Spotlight: Sword Saint Press Release: Green Man Gaming Signs Up Award-Winning Telltale Games Gold: 'Reus' released Press Release: The Swapper Steam Release Date and New Trailer Press Release: Lost Spirits of Kael Game: Magicka - Wizard Wars First-Ever Screenshots Revealed Game: Dutch designers break new ground with audio game Remembering Press Release: Gamebook Fans Unite! Beta: Start of the Second WildStar Closed Beta Game: Jack Haunt - Old Haunting Grounds
Home - Forum Home
Welcome Guest, please Login or Register!
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register or login before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Topic: IF7 "if" Help

    Page 1

8 JAN 2010 at 10:18pm

Xygatrix

Intergalactic Janitor
Intergalactic Janitor



Posts : 2
Joined: 8 JAN 2010

Status : Online
Alright, after a dream sequence in a meadow, my character is moved to a cottage. I've been having some trouble getting some things to work, especially an "if" phrase. Basic code I was trying to use was:


The Cottage is a room. A bed is in the cottage.

If player is in the Cottage for the first time:
    say "You wake up in a strange room."
    Player is in the bed.


That told me that the words "if the player is in the cottage for the first time" didn't work as a phrase, so I changed it to this:


The Cottage is a room. "[if player is in the cottage for the first time] You wake up in a strange room." A bed is in the cottage.


That worked for me, but I still want the character to be in the bed the first time he enters the cottage (because he is moved there after a dream scene.) Is there any way to do this?

Profile Search


14 JAN 2010 at 1:13am

Xygatrix

Intergalactic Janitor
Intergalactic Janitor



Posts : 2
Joined: 8 JAN 2010

Status : Online
Seriously? No one?

Profile Search
10 JUN 2011 at 6:46pm

mike111

Intergalactic Janitor
Intergalactic Janitor



Posts : 6
Joined: 9 JUN 2011

Status : Online
This is simple.

The Cottage is a room. A bed is in the cottage.

If player is in the Cottage for the first time:
    say "You wake up in a strange room.";
    now Player is in the bed.;

copy exactly.


Profile Search

    Page 1

Jump to:
0 Members Subscribed To This Topic