Acivator casts spell on player. Help please.

Post » Thu Apr 10, 2014 11:08 am

I've been messing around with this script for a while now but am constantly getting errors compiling. I want that when player activates a "blood plane", like water but blood, that a spell is cast on him/her - spell yet to be made. I'm in the right ballpark but compiling errors are asking for functions. Here's the basics of what I've grasped from the Wiki.

Spell Property mySpell AutoObjectReference Property myActivatorEvent OnActivate(objectreference akActionRef)mySpell.cast(myActivator, playerRef)

I've been using States, not shown in the above I know but the compiler won't have it. Help appreciated.

User avatar
Michael Russ
 
Posts: 3380
Joined: Thu Jul 05, 2007 3:33 am

Post » Thu Apr 10, 2014 8:06 am

Are you missing the Auto in your object reference property line?
User avatar
Peetay
 
Posts: 3303
Joined: Sun Jul 22, 2007 10:33 am

Post » Thu Apr 10, 2014 11:32 pm

****

User avatar
Gwen
 
Posts: 3367
Joined: Sun Apr 01, 2007 3:34 am

Post » Thu Apr 10, 2014 4:20 pm

;)
User avatar
Enie van Bied
 
Posts: 3350
Joined: Sun Apr 22, 2007 11:47 pm

Post » Thu Apr 10, 2014 2:16 pm

Yep was as simple as that. Can't see the wood.....etc

User avatar
Allison C
 
Posts: 3369
Joined: Mon Dec 18, 2006 11:02 am


Return to V - Skyrim