I can't seem to get the new message object to work with my script.
The error I'm getting is "cannot compare a message to a int (cast missing or types unrelated)". I've googled this error, but nothing comes up.
Here's the relevant parts of the script:
Scriptname ShrineDonationKynareth extends ObjectReference Message Property _ShrineDonationKynarethMessage AutoIdle Property IdlePray AutoActor property PlayerRef autoimport debugEvent OnActivate(ObjectReference akActionRef) if akActionRef == PlayerRef ;We don't want NPCs activating this _ShrineDonationKynarethMessage.Show() if (_ShrineDonationKynarethMessage == 0) game.forcethirdperson() Game.GetPlayer().PlayIdle(IdlePray) elseIf (_ShrineDonationKynarethMessage == 1) ;do whatever needs to be done here elseIf (_ShrineDonationKynarethMessage == 2) ;do whatever needs to be done here elseIf (_ShrineDonationKynarethMessage == 3) ;do whatever needs to be done here endIf
Any pointers would be much appreciated
