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.
Post Reply
User avatar
DazaKiwi
Posts: 847
Joined: Thu Oct 21, 2010 10:05 am
Points: 71
Location: New Zealand

Embedded expression restriction prob (solved)

Post by DazaKiwi »

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"
Post Reply