Jump to content

Home

Problem finding right Animation


harIII

Recommended Posts

I'm trying to write a script that will have a character bend over and pick up something off the ground but I'm not having any luck. The closest thing I could find in the animation.2da file was number 40, pick up from ground. However it turned out that the name and the actual animation are two different things, the npc turned out to be sitting at a computer typing on it. Does anyone know what the number for the animation I'm looking for it?

 

Here's my script if anyone needs to look at it:

 

void main() {

 

object oThell=GetObjectByTag("thell1");

AssignCommand(oThell, SetFacingPoint(Vector(6.67152, 0.0, 1.94770)));

 

AssignCommand (oThell, ActionPlayAnimation( 40, 1.0, 6.0));

 

 

 

object oHolocron = GetObjectByTag("holocron");

AssignCommand (oHolocron,ActionDoCommand(DestroyObject(oHolocron)));

 

}

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...