Community Forum

Player actions

Forum Overview >> Scripting

CategoryScripting
Created05.05.2021 17:04


Leigh Mike (LesiuApple) 05.05.2021 17:04
Hi, can I somehow disable player actions such a pickup object, enter vehicle or choose handtools in specialization ?

Thanks in advance.

Bilbo Beutlin (BBeutlin) 06.05.2021 01:53
Of course it is possible. But there is no simple 'switch' to enable/disable certain functions. This is very individual and different. You must read and understand the LUA scripts to find a suitable way.
Nearly always works overwriting default functions with custom ones. Some actions have a preposition which can be set to true|false. On others you can disable eventListeners to stop execution ... and many more.


Note: Log in to post. Create a new account here.