Aller au contenu

Photo

PC clone not obeying actions (gestalt)


  • Veuillez vous connecter pour répondre
Aucune réponse à ce sujet

#1
Hreterus

Hreterus
  • Members
  • 55 messages

I need my PC as the cameraman, so I tried using the GestaltClonePC command like so:

 

object oPC = GetLocalObject( GetObjectByTag("tr_thefall"),"cutsceneviewer" );

GestaltClonePC(0.0,oPC,GetObjectByTag("fall_spot"),"clone","",TRUE);

object oPC_Actor = GetObjectByTag("clone");

 

GestaltStartCutscene(oPC,"cthefall",TRUE,TRUE,TRUE,TRUE,2);

 

GestaltActionMove(1.0,oPC_Actor,GetObjectByTag("fall_spot"),TRUE,0.0,0.2);

 

GestaltStopCutscene(5.0,oPC);

 

 

This does work, however the object created doesn't execute any actions assigned to it. 

 

Any idea why this might be? Should I post more of my script, or is it something obvious I'm missing?