Salk 374 Posted June 2, 2019 (edited) Hello! I don't seem to understand why the following script (attached as OnOpen to a door file) works only for the currently selected character (the one opening the door) but doesn't produce any result for the other two party members. What am I missing? void main() { object oParty0 = GetPartyMemberByIndex(0); object oParty1 = GetPartyMemberByIndex(1); object oParty2 = GetPartyMemberByIndex(2); AssignCommand(oParty0, ActionPlayAnimation(15, 1.0, 10.0)); AssignCommand(oParty1, ActionPlayAnimation(15, 1.0, 10.0)); AssignCommand(oParty2, ActionPlayAnimation(15, 1.0, 10.0)); } Thanks! EDIT: I made a few searches and to answer my own question (but I would like to know if this is going to cause other kind of problems), it seems I can get all three party members play the above animation by changing the code to something very convoluted: void main() { object oParty0 = GetPartyMemberByIndex(0); object oParty1 = GetPartyMemberByIndex(1); object oParty2 = GetPartyMemberByIndex(2); AssignCommand(oParty0, ClearAllActions()); AssignCommand(oParty0, ActionDoCommand(SetCommandable(TRUE, oParty0))); AssignCommand(oParty0, ActionPlayAnimation(15, 1.0, 10.0)); DelayCommand(0.1, SetCommandable(FALSE, oParty0)); AssignCommand(oParty1, ClearAllActions()); AssignCommand(oParty1, ActionDoCommand(SetCommandable(TRUE, oParty1))); AssignCommand(oParty1, ActionPlayAnimation(15, 1.0, 10.0)); DelayCommand(0.1, SetCommandable(FALSE, oParty1)); AssignCommand(oParty2, ClearAllActions()); AssignCommand(oParty2, ActionDoCommand(SetCommandable(TRUE, oParty2))); AssignCommand(oParty2, ActionPlayAnimation(15, 1.0, 10.0)); DelayCommand(0.1, SetCommandable(FALSE, oParty2)); } Edited June 2, 2019 by Salk Found answer... maybe Quote Share this post Link to post Share on other sites