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
The Heritage
Bug Hunt On Menelaus
All Hallows Eve
Finn's Big Adventure
Xanix - Xixon Resurgence
Goldilocks is a FOX!
The Euripides Enigma
Wes Garden’s Halting Nightmare
Land of the Mountain King
Ectocomp 2011 Compilation
 
Latest Forum Posts
Preventing character property being executed?
ParserComp 2024 site is up
HAPPY BIRTDAY RoozdenScoot!
Copyright limitations?
Search Function Not Working In Windows 11
errors
Forum site error
The Book of Jax - The Adventures of Alaric Blackmoon # 10
HAPPY BIRTHDAY DazaKiwi
HAPPY BIRTHDAY ralphmerridew
 
Latest Reviews
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
Lost Coastlines

Make a donation

Cursor  Problem when displaying states with text variable help

Issue Type: Status: Priority: Date Submitted: Votes:
Bug More Info Required Low Tue 25th Mar 2014 1 vote Vote Up Vote Down
 
Found in version: Last Updated: Completed in version: Date Completed: Track Changes:
5.0.31.4 Thu 28th Aug 2014 Log In
 
Tue 25th Mar 2014 06:08
Tried this:

- Created a 'Button' Object. Gave it a on/off state and named the property 'Switch'.

- Created a variable called 'ButtonPress'.

- Created a text array variable with an array of 2. 'ButtonArray'. There's two '0's of different color in the array: a green '0' and a red '0'.

- When the player presses the button, (ButtonPress=2; ButtonArray(ButtonPress)), the green '0' appears because the button is now in an 'on' state.

- When the player presses the button again, the red '0' should appear because it's now in an off state.

- I followed the guide on wiki: Created 'push button' task that calls out two seperate tasks. One of the tasks checks to see if the button is off, otherwise, it turns the button on. The other task checks if the button is on, otherwise, it turns the button off.

- According the colored '0' being displayed, this change never takes place. May have to do with task priority?


This is either a bug or I'm missing something major! Should be pretty easy to test on your end.

 
Tue 25th Mar 2014 07:07
I found that is definitely has to do with priority in calling out the tasks. I can not find a way around this though... I'll post a comment if I do. :/

EDIT: Finally circled around the problem using an IF statement inside the 'ButtonPress' variable action.
 
CampbellThu 28th Aug 2014 21:57
Can you send me an example please?
© 2013 Campbell Wild. All rights reserved. | Contact the Webmaster