EventHandlers, Parsing Lumps( and some other stuff)
Posted: Wed Dec 27, 2017 4:01 pm
So I was looking for help with two main things:
EventHandlers:
!
I'm brain-dead tired right now so sorry if none of this makes senseUmm, I forgot to press submit...
EventHandlers:
- Can I register an EventHandler during runtime? I have handlers that are only necessary when certain classes are chosen so I don't want to run them when that class isn't chosen.
Does it matter if vars that effect the player are in the EventHandler or in the player class?
Is there a reasonable max to EventHandlers? Where it begins to cause performance or other problems.
- Can I evaluate a String like: "4+3*4" to =16? Right now I've written my own method to do it but I was wondering if there was a builtin way to do it.
Can I execute strings as a ZScript file or #include using a variable? Extension of ^
Is there a way to read binary formats?
- Is there a way to execute something and not wait for it to finish? Running it in a seperate 'thread'
For procedurally generating part of a map do I just use polyobjects and move them using ACS?(Kind of mapping)
Is there some ID unique to the user I can retrieve in Zscript or ACS for said generation?
If my weapon animations have many different variations and conditions, can I animate it via a ZScript method instead of States?
Do I have to morph the player to change their height that isn't crouching?

I'm brain-dead tired right now so sorry if none of this makes senseUmm, I forgot to press submit...