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...

openinventory script


cotoli
 Share

Recommended Posts

HI all

im trying to do a very simple script attached to a spell but im a noob with papyrus. I know how to create the magic effect, the spell, etc... but the script is maddening me:

Scriptname shownpcinventory extends activemagiceffect  
 
 
Event OnEffectStart(Actor akTarget)
OpenInventory()
EndEvent   
 
 
Function OpenInventory(bool abForceOpen = true) native
xxxxxx
Endfunction

 
Where it says xxxxxx i tried everything but the script never compiles. I feel so stupid. I know that it has to be something about the function not belonging to an activemagiceffect. But i cant solve it...
any help would be so much appreciated!
 
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...