Ask for help about creating mods and scripts for Grimrock 2 or share your tips, scripts, tools and assets with other modders here. Warning: forum contains spoilers!
Hello JKos,
I have installed Hook Framework and my first attempt is a success with a party hook. Thanks for your work!
But... I tried another one with a floortrigger, and I don't understand where I am wrong, but nothing happened! Here is my test code:
(I tried also with a replacment one by "defineObject", same result)
then I put a floor_fw_trigger with "digonly" and a connected script: function battlefielddig()
Duncan1246 wrote:Hi JKos,
I tried your solution this morning (instead of solar eclipse, I have had a brain one, I think...): no result...
What I have done:
(I tried also with a replacment one by "defineObject", same result)
then I put a floor_fw_trigger with "digonly" and a connected script: function battlefielddig()
Script is called, but do nothing... Where am I wrong?
As I said in the post above, I have made now many tests without any success, and I don't understand why I can't figure out where is my error. I have no problem with party hooks as I said before, so I surely miss something important. Can you help me?
Duncan
Well I actually tested your code and it works for me after removing the extra t. What do you mean by:
then I put a floor_fw_trigger with "digonly" and a connected script: function battlefielddig()