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

Karantalsis

Allies
  • Posts

    3
  • Joined

  • Last visited

Karantalsis's Achievements

Layman

Layman (1/11)

0

Reputation

  1. Thanks to you both, think I will have lots of questions until I get my feet under me. I am just using candlelight as a placeholder at the moment I will be switching the spell in idfferent bits of the script so I need to leave akTarget in their (at least for now). I've got another problem now, as I ahve that working and am trying to add an IF statement. It compiles OK. ScriptName castspell extends activemagiceffect Spell property candlelight Auto Keyword property BeginCasting Auto Event OnEffectStart(Actor akTarget, Actor akCaster) if (Game.GetPlayer().HasMagicEffectWithKeyword(BeginCasting)) candlelight.Cast(akCaster, akTarget) endIf EndEvent BeginCasting is a keyword I have attached to a Lesser Power. I cast the power (which has one other Keyword and nothing else) then I cast the spell with this script attached, nothing happens. Any idea what I'm doing wrong?
  2. Thankyou! Am really new to Papyrus so am making a ton of mistakes. Would this work then? ScriptName castspell extends activemagiceffect Spell property candlelight Auto Event OnEffectStart(Actor akTarget, Actor akCaster) candlelight.Cast(akCaster, akTarget) EndEvent
  3. I can get this to compile, I have then attached it to a spell, which has no other effects and no conditions. I set the property to candlelight, cast it in game and candlelight is not cast. What am I missing? ScriptName castspell extends Form Spell property candlelight Auto Event OnInit() candlelight.Cast(Game.GetPlayer(), None) EndEvent
×
×
  • Create New...