IKoxaI Posted September 23 Share Posted September 23 (edited) So im trying to create mod in which player will say something when interact with container or a door which he cant lockpick due to low skill level. At first i thought that im gonna create something like that scn MyneTestLock ref myRef begin OnActivate set MyRef to GetActionRef if MyRef.GetLocked == 2 playsound MyneLockCheck endif end but i realize that im gonna need to attach this sript to every door and safe. I cant come up with the script that im looking for due to luck of experience and knowledge. Any help please? [Edit] I come up with better script scn MyneTestLock ref myRef begin Gamemode If IsKeyPressed 18 2 == 1 set MyRef to GetCrosshairRef if MyRef.GetLocklevel > PlayerREF.getAV lockpick playsound MyneLockCheck endif endif end Edited September 23 by KAXA200 Link to comment Share on other sites More sharing options...
Recommended Posts