A few script questions based on Cannibal and nullify magic

Post » Fri Aug 08, 2014 11:06 pm

For starters on the Cannibal, I'm trying to understand how the function works. I read through the Actor Script example and study how to put the function in. Not sure if this needs to be a dialogue quest script or I can simply write out the script on the NPC itself to activate the feature, but even then when I made the script myself and put this in.

Scriptname EatHuman extends ObjectReference
Game.GetGothCrazedWoman02().StartCannibal(GothDeadPrisoner)
I get this
Starting 1 compile threads for 1 files...
Compiling "EatHuman"...
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\temp\EatHuman.psc(3,4): no viable alternative at input '.'
No output generated for EatHuman, compilation failed.
Batch compile of 1 files finished. 0 succeeded, 1 failed.
Failed on EatHuman
On the top it mentions Syntax and shows an example of how it's written out: Function StartCannibal(Actor akTarget) native.
I was wondering instead of Object Reference, I was suppose to put in Function because it's an action.
As for the nullify magic question, I'm unsure about this one, but was wondering someone with experience on making these kind of scripts know if that exists or not. I tried looking through the actor script, but found nothing based on magic damage or magic unable to be used present in the realm you're in. I was thinking a soul gem in the realm, and trigger box it to make it active all around the realm, so that the player can't use magic period while in the domain. (This is an Asylum area, so that should explain why.)
User avatar
GEo LIme
 
Posts: 3304
Joined: Wed Oct 03, 2007 7:18 pm

Return to V - Skyrim