If I print:
Location1.Exits
Location1.Exits.List
Location1.Exits.Count
I Get:
Location1.Exits
North, west, in and out
4
I need the Location1.Exits to give me the exits in a form I can use in an execute task action, to pass the valid directions to a task with a %direction% reference.
I wish to use this to check what items are in all of the adjacent locations to the players location.
|