Changed folder name.
Changed folder name.
This commit is contained in:
17
_module/nss/startidconv.nss
Normal file
17
_module/nss/startidconv.nss
Normal file
@@ -0,0 +1,17 @@
|
||||
object oSelf = OBJECT_SELF;
|
||||
|
||||
void main()
|
||||
{
|
||||
object oPC = GetLastUsedBy();
|
||||
|
||||
AssignCommand(oPC, ActionStartConversation(oSelf, "", TRUE));
|
||||
|
||||
int nActive = GetLocalInt (OBJECT_SELF,"X2_L_PLC_ACTIVATED_STATE");
|
||||
// * Play Appropriate Animation
|
||||
if (!nActive)
|
||||
{
|
||||
ActionPlayAnimation(ANIMATION_PLACEABLE_ACTIVATE);
|
||||
DelayCommand(5.0, ActionPlayAnimation(ANIMATION_PLACEABLE_DEACTIVATE));
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user