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:
40
_module/nss/jw_kobkdoor_onus.nss
Normal file
40
_module/nss/jw_kobkdoor_onus.nss
Normal file
@@ -0,0 +1,40 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: Trap door that takes you to a waypoint that
|
||||
//:: is stored into the Destination local string.
|
||||
//:: FileName
|
||||
//:: Copyright (c) 2001 Bioware Corp.
|
||||
//:://////////////////////////////////////////////
|
||||
/*
|
||||
|
||||
*/
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Created By: Robert Babiak
|
||||
//:: Created On: June 25, 2002
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Modified By: Andrew Nobbs
|
||||
//:: Modified On: September 23, 2002
|
||||
//:: Modification: Removed unnecessary spaces.
|
||||
//:://////////////////////////////////////////////
|
||||
|
||||
void main()
|
||||
{
|
||||
object oidUser;
|
||||
object oidDest;
|
||||
string sDest;
|
||||
|
||||
if (!GetLocked(OBJECT_SELF))
|
||||
{
|
||||
if (GetIsOpen(OBJECT_SELF))
|
||||
{
|
||||
DelayCommand(0.5,DestroyObject(OBJECT_SELF));
|
||||
} else
|
||||
{
|
||||
PlayAnimation(ANIMATION_PLACEABLE_OPEN);
|
||||
DelayCommand(0.5,DestroyObject(OBJECT_SELF));
|
||||
}
|
||||
} else
|
||||
{
|
||||
// ActionUseSkill
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user