Jump to content

IKoxaI

Members
  • Posts

    3
  • Joined

  • Last visited

Everything posted by IKoxaI

  1. Is there a way to prevent objects that not in formlist or if the amount of items that in formlist is higher than 1 to be placed in the specific container ? Lets say i need that contaner could only take 1 instance of refArmor and if its not refArmor or if refArmor amount is higher than 1 then move them to player inventory. I tried different approaches but they all didnt work out . Plz help (Eng not my first language so sry for all grammatical mistakes)
  2. So im trying to figure out what is the best (if there any) way to make script "do this" ( playsound for example) when player failed hack attempt . The idea i come up with is to check if there the specific sctring on the screen (<string> &-sHackingLockout3 for example) , but im noob at scripting and dont know how to write it . Any idea?
  3. 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
×
×
  • Create New...