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

Get Effects of Potion


LegendofThunder
 Share

Recommended Posts

Until I had a closer look into the possibilities of SKSE I wasn't even going to look at this as being part of my quest/tutorial.

 

I need to guide the player into creating specific potions, while I don't think it's possible to actually check the ingredients that were used in the creating of the last potion, I know I can look at the MagicEffects.

 

This will give me some degree of control over what the player can brew in order to complete the specific objective.

 

I found this function:

MagicEffect Function GetNthEffectMagicEffect(int n) native

However, I have no idea how to utilize this as I am unable to find a list of what exactly should be returned.

Without specifically going through and coding the uses so that this pops up in a Debug.MessageBox I am feeling slightly overwhelmed with this function.

 

I don't suppose anyone knows of a list of the MagicEffects or how this function would return all of them?

Link to comment
Share on other sites

It's in the SKSE downloads.

src\skse\scripts\modified

 

edit:

 

int count =

; return the number of the effects
int Function GetNumEffects() native

 

and

 

; return the magic effect of the specified effect
MagicEffect Function GetNthEffectMagicEffect(int index) native

 

Should help. :)

Edited by schatten
Link to comment
Share on other sites

It's in the SKSE downloads.

src\skse\scripts\modified

 

edit:

 

int count =

; return the number of the effects

int Function GetNumEffects() native

 

and

 

; return the magic effect of the specified effect

MagicEffect Function GetNthEffectMagicEffect(int index) native

 

Should help. :)

 

I'm having some trouble using SKSE functions in the Creation Kit. Not sure how to get them implemented, I installed SKSE as part of a mod I downloaded prior to starting mods myself and have since re-installed SKSE again just to be sure however I still cannot use the functions.

 

I understand how the functions work, my problem lies in where I would use them. I assume I'd use them when a potion is created but I can't find the scripts to edit for that, despite looking at the Alchemy Tutorial quest.

Link to comment
Share on other sites

Alchemy and enchanting are built into the game engine, rather than being controlled by the scripting system. That is why, for example, it is impossible to add a new potion, so mod authors end up using the cooking interface when they want to combine ingredients in novel ways.

Link to comment
Share on other sites

I'm having some trouble using SKSE functions in the Creation Kit. Not sure how to get them implemented, I installed SKSE as part of a mod I downloaded prior to starting mods myself and have since re-installed SKSE again just to be sure however I still cannot use the functions.

What are your issues with using the functions? You need the source files to use the functions, make sure you have them. They are included in the archived version of SKSE, not in the installer version.

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