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

Creating Permanant Sun Damage


Zabre
 Share

Recommended Posts

I'm pretty sure this is really easy, doesn't even really need a script.

Just make a spell, make sure to select Ability as the spell type and then add a sun damage effect.

Then just add it to the actor's spell list or add it through script with:

Target.addSpell [spellID]

Not that simple,

scriptname Sundamagescript


begin Scripteffectstart

	target.addspell 010011D6

end

Error: Invalid reference, only object and reference variables can be used

I think by taking away the reference, it would work, let me test it

Link to comment
Share on other sites

Its best is you use the [spell Id], not the [form Id] for the spell. The spell Id would be the editor ID name of the spell.

For the variable named 'Target' to work, you have to define it as a reference variable and then set that variable to the reference ID of the target of the spell.

But its probably better to just remove the reference since the reference will be implied by the spell that its running on.

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