Jump to content

Home

Problem finding right Animation


harIII

Recommended Posts

Posted

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)));

 

}

Posted

IIRC 10000 is indeed using animations.2da animations.

Just plain low numbers (like 40) are using stuff from nwnscript.nss. Some of them work too, and can be found there, and are used around the game (TSL at least).

They overlap... well, pretty much nowhere.

Archived

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

×
×
  • Create New...