Alright so I sort of figured this much out, I created a list, when i looked in a room, I saw a set of monsters, which I put in a list, but how can I access that list from outside of that trigger? It seems its not saved anywhere, how would i do save it?
Saving Lists/Tuples/Dictionaries?
Posted by Chronoti on Mon 27 Oct 2003 02:22 AM — 2 posts, 12,639 views.
You would probably need to use a script file. Have the trigger call a function in that script file and fill a list variable defined globally. Then you can reuse the list in any other functions as long as you declare it global wherever you want to use it:
def function(name, output, wildcs):
global list