harIII Posted May 21, 2012 Share Posted May 21, 2012 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 More sharing options...
Fallen Guardian Posted May 21, 2012 Share Posted May 21, 2012 Just look in nwscript. Under animations there should be one called get low or something like that, I've used it a lot and that, from what I've gathered, is what you're looking for. Link to comment Share on other sites More sharing options...
harIII Posted May 21, 2012 Author Share Posted May 21, 2012 Could you send me an example script of what you use? I'm having trouble trying to find what it is you're talking about. Link to comment Share on other sites More sharing options...
newbiemodder Posted May 21, 2012 Share Posted May 21, 2012 Har...instead of on animation 40 in your script...try 10040.....you need to add 10000 to the row number. Link to comment Share on other sites More sharing options...
harIII Posted May 21, 2012 Author Share Posted May 21, 2012 OMG, it works! Thanks fellas. Link to comment Share on other sites More sharing options...
Hassat Hunter Posted May 22, 2012 Share Posted May 22, 2012 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. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.