Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Set_Animation(params);
Re: Set_Animation(params); [message #441418 is a reply to message #441417] Mon, 13 December 2010 04:08 Go to previous messageGo to previous message
danpaul88 is currently offline  danpaul88
Messages: 5795
Registered: June 2004
Location: England
Karma:
General (5 Stars)
Look around for something to set the Human State parameter of the infantry unit, it might be something to do with that. Although, if it is, then changing it back might halt the animation anyway.




One (EXREMELY HACKY) solution if you can't find anything else that works would be to make the infantry unit invisible, spawn a COPY of the infantry unit, disable the copys collision settings, attach it to the original infantry unit (so they move together) and run the animation on that copy instead, and once the animation completes delete the copy and set the original infantry back to visible.

Yes, it would be an incredibly ugly and dirty hack, but it should get the job done (the invisible original infantry would still take damage, although the collision meshes would not line up perfectly with the mesh positions of the animated one... shooting for the body in this instance would work well)


http://steamsignature.com/card/1/76561197975867233.png
 
Read Message
Read Message
Read Message
Previous Topic: quick question on vehicles
Next Topic: Proximity C4 Damage
Goto Forum:
  


Current Time: Sun Jan 12 01:01:49 MST 2025

Total time taken to generate the page: 0.01292 seconds