If I run that, my trap looks like a eating priestess.
Is that your full script by the way,.. I just used your SET_TRAP_CONFIGURATION line in my script and it worked. Try it further down or up in the script?
Last edited by kix; October 21st, 2020 at 18:25.
If I run that, my trap looks like a eating priestess.
Is that your full script by the way,.. I just used your SET_TRAP_CONFIGURATION line in my script and it worked. Try it further down or up in the script?
Sorry, I completely misread. I did not see your trouble had to do with loading a saved game. I just tried:
1) Start game
2) Place trap -> eating witch
3) Save game
4) Load game -> still eating
5) Exit game
6) Start game
7) Load save -> still eating
So here everything works. I'll look for a map with a pre-placed trap.
EDIT: But I see some strange behavior too, which I can't quite explain. I've put it on my list to investigate further and see why it's going wrong now and what I can fix.
Last edited by YourMaster; October 23rd, 2020 at 07:51.
It was a pretty big problem, but it's fixed now. Unfortunately that means that the SET_TRAP_CONFIGURATION script command cannot really be used for 0.4.8.
See: https://github.com/dkfans/keeperfx/issues/844
I was worried it would be unfixable and we'd lose this great feature. So good job fixing this. also quickly
Doing the same for the SET_DOOR_CONFIGURATION will prove to be more difficult though, as most of those functions are still not rewritten.