Initial upload
Initial upload. PRC8 has been added. Module compiles, PRC's default AI & treasure scripts have been integrated. Started work on top hak for SLA / Ability / Scripting modifications.
This commit is contained in:
16
_module/nss/fr_iwd_mnswtch02.nss
Normal file
16
_module/nss/fr_iwd_mnswtch02.nss
Normal file
@@ -0,0 +1,16 @@
|
||||
void main()
|
||||
{
|
||||
object oDoor = GetObjectByTag("fr_iwd_mtcave_i_001");
|
||||
string sSoundName = "as_hr_x2drnoise4";
|
||||
string sSoundName2 = "as_hr_x2drnoise6";
|
||||
string sStringToSpeak ="You hear a door opening in the distance, however once you release the lever it seems to move slowly towards position it was when closed.";
|
||||
|
||||
DelayCommand(0.7, ActionPlayAnimation(ANIMATION_PLACEABLE_DEACTIVATE, 1.0, 0.0));
|
||||
DelayCommand(0.5, ActionUnlockObject(oDoor));
|
||||
DelayCommand(0.6, ActionOpenDoor(oDoor));
|
||||
DelayCommand(0.1, PlaySound(sSoundName));
|
||||
SpeakString(sStringToSpeak, TALKVOLUME_TALK);
|
||||
|
||||
DelayCommand(20.0, ActionPlayAnimation(ANIMATION_PLACEABLE_ACTIVATE, 1.0, 0.0));
|
||||
DelayCommand(20.0, PlaySound(sSoundName2));
|
||||
}
|
||||
Reference in New Issue
Block a user