Basically, someone on The Nexus Forums wanted to make a copy of the Mehrunes Dagon statue in Lake Arrius caverns and use it in their own shrine. Then this person wanted someone to help them script the statue so that it collapsed when the high-priest of that shrine was killed. I decided to help the person and provided a working script that made the statue collapse.
This person then wanted a way of making a dust cloud appear when the statue hit the ground (one such cloud was in Lake Arrius caverns). I tried making a script that would make this cloud animate when the statue hit the ground but my attempts at making this script didn't work at all. I am baffled as to why the script failed to work properly. As far as I can see, the script should be working, but I guess I'm wrong. Here are the scripts I provided:
This is the script attached to the high priest:
ScriptName {WhateverNameYouWantInOneWord}
Begin OnDeath
{ReferenceIDOfStatue}.playgroup unequip 0
StartQuest {NameOfYourNewQuest}
Set {NameOfYourNewQuest}.fQuestDelayTime to .1
EndThis is the script attached to the quest that I suggested to animate the dust cloud:
ScriptName {NameOfYourNewQuest}Script
Float fQuestDelayTime
Begin GameMode
If GetSecondsPassed < 5
Return
Else
MessageBox "Animation Started"
{ReferenceIDOfGroundHitDustCloud}.playgroup forward 0
StopQuest {NameOfYourNewQuest}
EndIf
EndIn the quest script, I have that message box command to debug but that message never appears and I can't work out why. Can anyone tell me what is wrong with this script? Your help will be greatly appreciated.
Sign In
Create Account



Back to top

Terms of Service