Need someone to proofread my script!

Post » Tue Mar 26, 2013 3:01 am

So I'm doing a script for my quest, where it counts how many of a leveled actor have been killed, which I'll then be using in an objective, which, once it reaches a certain point, will advance the quest.

But the script won't save, and I'm not completely sure why. Papyrus is not one of my strong points, so there's certain functions (the line with "getdeadcount", for example), where I'm not totally sure if I've got the syntax right.

The script isn't complete yet, but here's what I've got so far:

Scriptname danDeadSkeletonScript extends Quest  ConditionalGlobalVariable Property danSummonedSkellysProperty Auto ConditionalQuest Property danQuest2Property Auto ConditionalLeveledActor Property danSkellyActorProperty  Auto  Function danSkeletonsCounted()	float CurrentCount = Game.GetPlayer().GetDeadCount(danSkellyActorProperty)	danSkellyActorProperty.Value = http://forums.bethsoft.com/topic/1451796-need-someone-to-proofread-my-script/CurrentCountendFunction
User avatar
Laura Simmonds
 
Posts: 3435
Joined: Wed Aug 16, 2006 10:27 pm

Post » Tue Mar 26, 2013 1:52 am

It's danSkellyActorProperty.GetDeadCount -- see http://www.creationkit.com/GetDeadCount_-_ActorBase

If you are planning to count how many danSkellyActorProperty have been killed by the player I'm afraid you can't count those that easily. GetDeadCount counts how many actors are dead since the game start, not how many have been killed by the player.
User avatar
dell
 
Posts: 3452
Joined: Sat Mar 24, 2007 2:58 am


Return to V - Skyrim