Apparently I'm failing at a very simple message script.

Post » Sun Feb 16, 2014 8:59 pm

Scriptname AlectraCureVampireMessageScript extends ObjectReferenceMessage Property NewPropertyTest AutoEventOnActivate(ObjectReference akActionRef)NewPropertyTest.show()EndEvent

It seems... Extremely simple in theory, but it doesn't work. I've tried altering it in various ways. It's also extremely similar to the script from this FAQ http://www.youtube.com/watch?v=KeP05l7O77E&t=10m6s which makes it feel even more baffling to me.

Can someone with better scripting knowledge please tell me why this script won't compile?

User avatar
Reven Lord
 
Posts: 3452
Joined: Mon May 21, 2007 9:56 pm

Post » Sun Feb 16, 2014 6:58 pm

Did you fill your property? When you say it doesn't work, does it not show, or do you mean you cant activate the object? What is this script attached to?
User avatar
Marine x
 
Posts: 3327
Joined: Thu Mar 29, 2007 4:54 am

Post » Sun Feb 16, 2014 9:19 pm

Yeah, fill the property outside of the script (right click on script and open property section), and maybe add this..

If akActionRef == Game.GetPlayer()     NewPropertyTest.show()ElseIf     ;DoNothing!EndIf
User avatar
Allison C
 
Posts: 3369
Joined: Mon Dec 18, 2006 11:02 am


Return to V - Skyrim