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
Skybreak! v. 1.1
Top Hat
Alien Diver v13
The PK Girl
Jacaranda Jim
Tribute: Return to the City of Secrets
Magnetic Moon
Museum Heist
The Axe of Kolt
the virtual human
 
Latest Forum Posts
Unprotected TAFs released - Ice's games
Crazy idea?
Annual IF Comp 2020
Just a fairy tale
Playtesters needed for new ADRIFT game
Sticking things on things
Handling greeting NPCs when player enters/exits... (solved)
Version control of modules
Did you play Sierra on line games?
IFComp 2020
 
Latest Reviews
Alien Diver v13
Museum Heist
The Spectre of Castle Coris
The Axe of Kolt
Die Feuerfaust
Penrhyn - Burning Skies #GameJam420
Dreamspun #GameJam420
Tingalan
Skybreak! v. 1.1
The Lost Labyrinth of Lazaitch

Make a donation

Get it from CNET Download.com!
Cursor  User functions only work once per text box

Issue Type: Status: Priority: Date Submitted: Votes:
Bug Completed Medium Fri 27th Dec 2013 2 votes Vote Up Vote Down
 
Found in version: Last Updated: Completed in version: Date Completed: Track Changes:
5.0.31.4 Thu 31st Jul 2014 5.0.32 Thu 31st Jul 2014 Log In
 
saabieFri 27th Dec 2013 13:20
If the same user function is used more than once in the same text box then, even though it has different parameters and different results each time, every instance will print the same result.
eg. if the text box contains:
%Dollar[555]% %Dollar[707]% %Dollar[2]%
and "Dollar" is a user function that simply formats the value as dollars and cents, the output will be:
$5.55 $5.55 $5.55
This also occurs if the function calls are in different alternate restrictions, but not if they are in different tasks.

Workaround: If you duplicate the function and use a different copy each time, eg:
%Dollar1[555]% %Dollar2[707]% %Dollar3[2]%
then you get the expected output.
 
CampbellThu 31st Jul 2014 21:59
Fixed.
© 2013 Campbell Wild. All rights reserved. | Contact the Webmaster