Jay093 Posted April 23, 2019 Share Posted April 23, 2019 (edited) Hello guys,does anyone knows the property to achieve this? Event OnEffectStart(Actor Target, Actor Caster) ;Turn OFF player interactions endEvent Event OnEffectFinish(Actor Target, Actor Caster) ;Turn ON interactions endEventby interactions i mean you cannot press "E" on any Object or Actor while the magic effect is active.Thanks in advance. Edited April 23, 2019 by Jay093 Link to comment Share on other sites More sharing options...
Ghaunadaur Posted April 23, 2019 Share Posted April 23, 2019 You might want to take a look at the DisablePlayerControls function. It does exactly this. Link to comment Share on other sites More sharing options...
Jay093 Posted April 23, 2019 Author Share Posted April 23, 2019 (edited) You might want to take a look at the DisablePlayerControls function. It does exactly this.Thank you!i leave the script here for everyone Scriptname MODDisableInteractions extends activemagiceffect Event OnEffectStart(Actor Target, Actor Caster) Game.DisablePlayerControls(false, false, false, false, false, false, true) ;disable only abActivate EndEvent Event OnEffectFinish(Actor Target, Actor Caster) Game.EnablePlayerControls() ;enable all the controls EndEvent Edited April 23, 2019 by Jay093 Link to comment Share on other sites More sharing options...
Recommended Posts