So I'm trying to attach this script to an NPC so that they spawn semi-transparent, but nothing happens.
ScriptName GhostInvis1 extends Actor
Function SetAlpha(float afTargetAlpha, bool abFade = false) native
float afTargetAlpha = 0.1
Can anyone tell me what I'm doing wrong? Normally you can set an npc semi-transparent with SetActorAlpha <value> using console commands, I don't know how to accomplish this with papyrus though because I am not a scripter.