ADRIFT Forum


The place to discuss the ADRIFT Interactive Fiction toolkit

Embedded expression restriction prob (solved)

This forum is the place to learn about and discuss ADRIFT 5. Feel free to mention any bugs you find here, but please also add these to the Bugs & Enhancements list.

Please also refer to the ADRIFT 5 Wiki for more information.

Embedded expression restriction prob (solved)

Postby DazaKiwi » Thu Apr 05, 2018 4:52 am

I am trying to use a expression restriction: %Player%.PropertyKey1.PropertyKey2(Stopped)

Propertykey1 is an Object (which is the object/a ship that the Player is Captain of) and Propertykey2 is a State property, the task restriction keeps failing, i tried
%Player%.PropertyKey1.PropertyKey2(Stopped)=1 and that didn't work. How do i write this properly for an expression restriction. The alternative is using a # param task but an embedded expression would be much more simple if i can get it to work as i have 4-5 variation tasks that uses this restriction.

*Update* Found the Solution
Ok i figured it out; %Player%.PropertyKey1.PropertyKey2(Stopped)="Stopped"
User avatar
DazaKiwi
 
Posts: 533
Joined: Thu Oct 21, 2010 9:05 am
Location: New Zealand
Points: 16

Return to ADRIFT 5.0

Who is online

Users browsing this forum: No registered users and 4 guests