Difference between revisions of "Talk:AddEffectItem"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Haama
imported>Shademe
 
(2 intermediate revisions by 2 users not shown)
Line 3: Line 3:
:Does that answer your questions? (Also, please sign your edits with <nowiki>--~~~~~</nowiki>)
:Does that answer your questions? (Also, please sign your edits with <nowiki>--~~~~~</nowiki>)
:--[[User:Haama|Haama]] 20:17, 3 October 2007 (EDT)
:--[[User:Haama|Haama]] 20:17, 3 October 2007 (EDT)
== Adding Scripted Efects ? ==
Can this function be used to added a script effect, and set it with a script, to a magic if item ? If not, is there any function which can ?
[[User:Shademe|shadeMe]] [[User_talk:Shademe|<span style="font-family: Oblivion, Daedric Runes; size=2;">TALK</span>]] 03:44, 21 March 2009 (EDT)
:Yup, sure can:
set shortVar to AddEffectItem SEFF magicItem
SetNthEffectItemScript scriptID magicItem shortVar
SetNthEffectItemScriptName "effect name" magicItem shortVar
SetNthEffectItemScriptSchool schoolCode magicItem shortVar
SetNthEffectItemScriptHostile bHostile magicItem shortVar
SetNthEffectItemScriptVisualEffect effectChars magicItem shortVar
:[[User:DragoonWraith|<span style="font-family: Oblivion, Daedric Runes; size=2;">D</span>ragoon <span style="font-family: Oblivion, Daedric Runes; size=2;">W</span>raith]] [[User_talk:DragoonWraith|<span style="font-family: Oblivion, Daedric Runes; size=2;">TALK</span>]] 19:41, 21 March 2009 (EDT)
You would know !
[[User:Shademe|shadeMe]] [[User_talk:Shademe|<span style="font-family: Oblivion, Daedric Runes; size=2;">TALK</span>]] 05:34, 22 March 2009 (EDT)

Latest revision as of 04:34, 22 March 2009

This needs a clear example.

Does that answer your questions? (Also, please sign your edits with --~~~~~)
--Haama 20:17, 3 October 2007 (EDT)

Adding Scripted Efects ?[edit source]

Can this function be used to added a script effect, and set it with a script, to a magic if item ? If not, is there any function which can ? shadeMe TALK 03:44, 21 March 2009 (EDT)

Yup, sure can:
set shortVar to AddEffectItem SEFF magicItem
SetNthEffectItemScript scriptID magicItem shortVar
SetNthEffectItemScriptName "effect name" magicItem shortVar
SetNthEffectItemScriptSchool schoolCode magicItem shortVar
SetNthEffectItemScriptHostile bHostile magicItem shortVar
SetNthEffectItemScriptVisualEffect effectChars magicItem shortVar
Dragoon Wraith TALK 19:41, 21 March 2009 (EDT)

You would know ! shadeMe TALK 05:34, 22 March 2009 (EDT)