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

leron9999

Allies
  • Posts

    2
  • Joined

  • Last visited

About leron9999

  • Birthday 12/04/1988

Profile Information

  • Gender
    Male

leron9999's Achievements

Layman

Layman (1/11)

0

Reputation

  1. Aimed spells can use the akTarget? I've tried it before by having an actor use the cast function where akTarget is another actor. In my case, actor 1 only ever fires in the direction he is facing. Did I do something wrong? Scriptname CastOnHostileScript extends activemagiceffect SPELL Property aaMagicToCast Auto Actor Property aaPlayer Auto Event OnEffectStart(Actor akTarget, Actor akCaster) aaPlayer = Game.GetPlayer() as Actor if(akTarget.IsHostileToActor(aaPlayer)) aaMagicToCast.Cast(akCaster, akTarget) endif EndEvent This spell is attached to a cloak magic effect and its spell encompasses an entire cell (but that's all it does).
  2. Hello all! First post here. Just wondering about Reference Alias and how useful it is. I've seen it get mentioned often in forums and while I tried to read up on it, I couldn't really wrap my head around it. Can anybody explain to me how it works and its possible applications? I'm tring to learn it because I'm currently trying to make a script that looks for hostile enemies in any given cell (meaning, there could be one hostile or no hostile). I'd then use this as a target for the spell.cast function (and the spell is an aimed spell). I wasn't successful, but I believe reference alias could be the key. Any help would be much appreciated.
×
×
  • Create New...