cast is not a function or does not exist

Post » Tue Apr 15, 2014 7:23 am

i'm trying to make something work with scripting but when i save it

it show me the error message
"cast is not a function or does not exist"

i can't find any help at the internet with that so, i came to this forum because i know you are good at scripting
do i need to add a "function" or something in order to get this work?

what did it want me to do?

here is my script if you need it:


Event OnPlayerBowShot(Ammo akAmmo)
cast(g1996test)
endEvent
spell g1996test

User avatar
Ashley Tamen
 
Posts: 3477
Joined: Sun Apr 08, 2007 6:17 am

Post » Mon Apr 14, 2014 6:31 pm

g1996test.cast(The Source the spell will come from, the target the spell is aimed at)

http://www.creationkit.com/Cast_-_Spell

User avatar
Jessica Raven
 
Posts: 3409
Joined: Thu Dec 21, 2006 4:33 am

Post » Mon Apr 14, 2014 3:55 pm

i can't find any ref. for the player (how i can make the spell to shooted from the player?)
and i want the spell to be just a fire and forget spell (like a simple projectile)
so, how i can do that?

thank you for your reply!

User avatar
Anna Beattie
 
Posts: 3512
Joined: Sat Nov 11, 2006 4:59 am


Return to V - Skyrim