Lootnscoot_2022-01-27T012711.623941.zip (64.2 KB)
I'm working on my first pulp project. I've posted in two other threads on this already, but now that i can upload files it felt better to just start my own thread. sorry to anyone who sees the other two comments and responds there...
anyway, my issue is:
- variable store/restore is apparently performed only when switching rooms
- my project has just one room, randomly created at runtime, with a randomly located 'exit'
- i put 'exit' in quotes there because it's not a proper exit tile - i don't see any way to create proper exit tiles in pulpscript
I've attached my project here - i'm an embedded dev and approaching this through pulp/pulpscript isn't exactly in my comfort zone, so i'm likely doing a lot of stupidly silly things... feel free to educate me, i'm eager to play. in the long run i'll likely use the C SDK once it launches, but for now i'm having fun trying to use pulp
Anyway my question for those more knowledgeable than myself:
Is there a way to dynamically place an exit tile via pulpscript? Alternatively is there a way to force 'store' to happen immediately rather than just queue it up to occur on the next room change?
Many thanks
-bit