489
edits
Script 10k (talk | contribs) (chr_poison TV bug workaround) |
Script 10k (talk | contribs) (One more FATAL SCRIPTING ERROR bypass technique) |
||
Line 279: | Line 279: | ||
</OSD> | </OSD> | ||
</TRGV> | </TRGV> | ||
If the technique above is not enough and you are still experiencing the "FATAL SCRIPTING ERROR: exceeded maximum scripting parameter base size of 32768" error after a while, you may try set a bsl function like this: | |||
func void reset_trigger_volume(){ | |||
# set the triggers function to a dummy one | |||
trigvolume_setscript("BurnCharacter", "bsl_dummy_function", "entry"); | |||
trigvolume_setscript("BurnCharacter", "bsl_dummy_function", "exit"); | |||
# now reset them again to their original function | |||
trigvolume_reset("BurnCharacter"); | |||
} | |||
Then make sure that '''reset_trigger_volume''' function gets called within some regular interval (in my case I am calling it every 15000 frames). | |||
The above function sets the trigger volume entry and exit function calls to a dummy function. Then we immediately reset the trigger volume itself (which will reset the function calls to their originals). | |||
This seems to make the engine avoid the "FATAL SCRIPTING ERROR: exceeded maximum scripting parameter base size of 32768". | |||
The '''bsl_dummy_function''' should be a function that does nothing, it can look like this: | |||
func void portal_dummy_function(){ | |||
} | |||
===Mod Tool addon=== | ===Mod Tool addon=== |
edits