Create your own Interactive Fiction

ADRIFT - Interactive Fiction  
Home   |   News ADRIFT News RSS   |   Screenshots   |   Download   |   Games ADRIFT Reviews RSS   |   Forum   |   Help   |   Links
Welcome Guest Register | Login
Popular Games
Pete's Punkin Junkinator
All Through the Night
Skybreak v. 1.4
Trick or Treat
the virtual human
Three Monkeys One Cage
The Day Program
InsideADRIFT #41
Museum Heist
The Fortress of Fear
 
Latest Forum Posts
Getting Adrift 4 to ignore "and"
Happy birthday, Rotter
CYS New Year's Prompt contest
Text Adventure Literacy Jam 2026
Merry Christmas!
Short story contest for the forum?
Constellaris Court
Happy birthday reelyor
New Game Uploaded: THINGS THAT GO BUMP IN THE NIGHT
EctoComp 2025 RESULTS ARE UP!
 
Latest Reviews
DRAM 321 Final
Goldilocks is a FOX!
Xanix - Xixon Resurgence
Finn's Big Adventure
Bug Hunt On Menelaus
Magor Investigates...
Classic Adventure
Private Eye
Roozden's Color Code Module
Wumpus Hunt

Make a donation

Cursor  IF expression not resolved before actions execution

Issue Type: Status: Priority: Date Submitted: Votes:
Bug No Longer Required Low Sun 26th Oct 2014 1 vote Vote Up Vote Down
 
Found in version: Last Updated: Completed in version: Date Completed: Track Changes:
5.0.32.1 Thu 30th Oct 2014 Log In
 
Sun 26th Oct 2014 16:23
Create a new task:
- Check "Display completion message before executing actions"
- Add the action: Move every held by player to the player's location
- Add the action: Move every worn by player to the player's location
- Add the following text : Player.WornAndHeld.Count
- Add the following text : <#IF(Player.WornAndHeld.Count=1,"object","objects")#>

Execute the task making sure the player is carrying at least one object. The first line of text will resolve to 1, while the IF expression will resolve to 0=1 (instead of 1=1).


Work around: Create 2 alternate text tabs. The first one using Player.WornAndHeld.Count=1 as a restriction and Player.WornAndHeld.Count>1 for the second. Adjust the text to fit the multiple tabs (Lot more work to add a single "s" to the text).
 
campbellThu 30th Oct 2014 23:34
Closing duplicate item.
© 2013 Campbell Wild. All rights reserved. | Contact the Webmaster