I'm trying to add perks to the player via scripts. I followed the example here: http://www.creationkit.com/AddPerk_-_Actor . My code is:
Scriptname aactPlayerAddPerks extends ReferenceAlias{Automatically adds several combat-related perks to the player}PlayerREF.AddPerk(aactWeightedBlows)Actor Property PlayerREF AutoPerk Property aactWeightedBlows Auto
This doesn't compile though. I keep getting this error: no viable alternative at input '.'
I also tried with Game.GetPlayer() instead of PlayerREF and I got the same error.
Any ideas on what I'm doing wrong?
Thanks in advance!