Checking if player has all information from investigation

Learn how to use AAO by reading tutorials, and seek help from the AAO community.

Moderator: EN - Forum Moderators

Post Reply
Stoats
Posts: 2
Joined: Tue May 05, 2020 3:56 pm
Gender: Male
Spoken languages: English Japanese

Checking if player has all information from investigation

Post by Stoats »

Hi everyone! I discovered AAOnline a little while ago and am loving it!

I am currently stuck trying to use the Evaluate Conditions To Move The Player action to check if the investigation should end.

I want to move the player to frame 299 IF evidences 3, 4, 5 and 6 are all discovered.

I tried

Code: Select all

f:evidence_is_revealed("preuve",3) & f:evidence_is_revealed("preuve",4) & f:evidence_is_revealed("preuve",5) & f:evidence_is_revealed("preuve",6)
, but it doesn't seem to be working.

I can't figure it out - does anyone have any suggestions? I am using V6, if that changes things.
123fendas
Posts: 305
Joined: Sat Mar 07, 2015 12:02 pm
Gender: Male
Spoken languages: Svenska, English
Location: Sweden
Contact:

Re: Checking if player has all information from investigatio

Post by 123fendas »

Use apostrophes instead of quotation marks.
Stoats
Posts: 2
Joined: Tue May 05, 2020 3:56 pm
Gender: Male
Spoken languages: English Japanese

Re: Checking if player has all information from investigatio

Post by Stoats »

123fendas wrote:Use apostrophes instead of quotation marks.
Amazing! Thank you! :3
Post Reply