Jump to content

Photo

GetRace Not Working?

race getrace script problem question

  • Please log in to reply
10 replies to this topic

#11
OneOnOne1162

OneOnOne1162

    Enthusiast

  • Members
  • PipPip
  • 152 posts

your code is

Event OnEffectStart(Actor akCaster, Actor akTarget)

should be (look at vanilla script "ActiveMagicEffect.psc")

Event OnEffectStart(Actor akTarget, Actor akCaster)

No idea what are your spell conditions and the condition for your globalVar is also mysterious for me. Maybe  next sample brings light to you.

 

BlooddrinkerEffectScript

Spoiler

 

Just switched around akTarget and akCaster like you said and now it works perfectly. I hadn't noticed that I had switched them the wrong way around. >.<

 

Sorry for bothering everyone with this, but this mistake had slipped passed me completely.

 

Anyway, thank you all for your help! And thank you RedDragon2013 for providing me with the solution!







Also tagged with one or more of these keywords: race, getrace, script, problem, question

Page loaded in: 1.083 seconds