I'm having a bit of trouble with using # %location1% %location2%, the restriction doesn't seem to have Referenced Location 1 or Referenced Location 2 like it normally does for characters and objects. I haven't needed to param two locations before until now, but it seems you can't? unless my brain is currently running on fumes.

DazaKiwi wrote:I'm having a bit of trouble with using # %location1% %location2%, the restriction doesn't seem to have Referenced Location 1 or Referenced Location 2 like it normally does for characters and objects. I haven't needed to param two locations before until now, but it seems you can't? unless my brain is currently running on fumes.

A full list of references that ADRIFT understands is as follows:%object1%, %object2%, %object3%, %object4%, %object5%, %objects%, %character1%, %character2%, %character3%, %character4%, %character5%, %characters%, %direction%, %number%, %text%, %location% and %item%.You can also use %object% and %character% as shorthand for %object1% and %character1%.

Thus %location1% and %location2% are not possible.

A workaround is to use %location% and %item% in the same task. Here you can use restrictions to ensure that %item% is a location. Unfortunately, it is very limited what actions can be carried out with %item%. Thus if you want to do some more advanced actions with the item, you must pass %item% as a parameter to a task, which uses %location% as a reference.

Thank you Denk for taking time out to create a little demo. That is a cool work around. I've never seen %item% used and i had to really look around in the manual to find that info about the references adrift understands.