Thread: NPC Animation's
View Single Post
Old 06-22-2012, 03:33 PM   #5
Fallen Guardian
@Fallen Guardian
Wandering the Galaxy...
Fallen Guardian's Avatar
Join Date: Aug 2010
Location: Unknown Regions
Posts: 1,294
Current Game: XCOM 2
Veteran Modder  Helpful! 
Just change it to whatever you've identified your object as earlier in the script. So you'd have something like this:

Delete all the colored text and replace it with what it tells your before you compile.

void main()

object o"Delete quotes and put whatever you want here" = GetObjectByTag("YOUR OBJECT'S TAG");

DelayCommand(0.8, AssignCommand(o"Whatever you put in the red above", ActionPlayAnimation(Your animation number, 1.0, How long you want it to run[-1.0 is looping forever])));

If it's a looping animation this would be the creature's onSpawn script, but if it's a fire forget animation it'd be in it's heartbeat script.

The truly fallen cannot return to the light. If someone "falls" and "returns," they never really, truly fell.

Current Work in Progress: Dantooine Tension

Released Works
Blaster Pistol Enhancement
Dustil Restoration
Ebon Hawk Texture Enhancement
Gaffi Stick Improvement
Weapon Model Overhaul Texture Rework (Thanks to Toasty Fresh!)
Sunry Murder Recording Enhancement
VP's Hi Poly Tin Cans - KotOR 1 Version
Fallen Guardian is offline   you may: quote & reply,