Jump to content

DOWNLOAD MODS

Are you looking for something shiny for your load order? We have many exclusive mods and resources you won't find anywhere else. Start your search now...

LEARN MODDING

Ready to try your hand at making your own mod creations? Visit the Enclave, the original ES/FO modding school, and learn the tricks of the trade from veteran modders...

JOIN THE ALLIANCE

Membership is free and registering unlocks image galleries, project hosting, live chat, unlimited downloads, & more...

[Solved] Debug my simple script please...


cuddlycactus
 Share

Recommended Posts

The goal of this script is to make my activator, when activated, open a door, after checking for a necklace on the player. This is my first script, please let me know where this could be going wrong.

Necklace = Necklace
Door = Door
 

Event OnActivate(ObjectReference akActionRef)
If Game.GetPlayer().GetItemCount(Necklace) >= 1
Door.Activate(Game.GetPlayer())
    endif
endevent
 
 
 
 
 
 

Thank you in advance!
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

×
×
  • Create New...