Jump to content

how do i implement a script?


lordDerpHerpington42

Recommended Posts

i have spent the past three hours searching all over the internet trying to find out how to scripts to things in GECK, and while i have found many guides on how to script (as well as a few things about how to add or alter object effects, which i already figured out), i haven't found a single shred of information on how to cause an item (or perk) to run a specific script. Naturally this leads me to believe there is some obvious thing i've missed in the GECK.

 

i made a script that alters movement speed, but i can't figure out how to do anything with it. i know the object effects window has an effect called "script effect", but there doesn't seem to be any way to specify which script i want to use.

 

 

Link to comment
Share on other sites

When it come to effects (Actor Effects and their Base Effects) the scripts involved are called effect scripts. When you create a script in the GECK, there is a drop-down box in the upper right corner of the window that lets you select the type of script you are making. For effects, this MUST be set to Effect - not Object nor Quest. Then you will see that script listed when selecting a script for an effect. To select a script for a (base) effect, the effect archetype must be selected as script as well.

 

Note that for effect scripts, there are only two code blocks allowed: ScriptEffectStart and ScriptEffectFinish

 

Putting scripts on quests and objects are generally far easier than applying them to effects.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...