In a cut scene I want an NPC to attack another one. I have a script which goes something like this:
void main()
{
object oPC = GetPCSpeaker();
objectoTarget;
oTarget = GetObjectByTag("et");
AssignCommand(oTarget,ActionAttack(GetObjectByTag("tt")));
}
I just typed this so if the issue is syntax, it is correct in the script (I assume since Lilac soul wrote it)
I want et to attack tt but it does not happen in the cut scene and I dont know why.
Thanks,
PJ
Modifié par PJ156, 23 juillet 2010 - 07:58 .





Retour en haut







