View Single Post
Old 04-25-2013, 04:41 PM   #289
Fair Strides
@Fair Strides 2
Witty Programmer
Fair Strides 2's Avatar
Status: Moderator
Join Date: Jan 2012
Location: Oregon, United States
Posts: 756
Current Game: Master of Orion 2
Originally Posted by Taunger View Post
Hello there! Hope it's alright to post this here:

I’m looking to create dialogs with fight sequences for K1 like these:

Jedi vs Sith on Endar Spire
Vulkars vs Beks
Bastila vs Revan
Jolee vs Katarns

The CutsceneAttack function is often mentioned and works, but I run into the problem that was also discussed here without a solution coming up, which is that it works for only one attack. For that reason, I don’t think this function is used in the scenes above; I can clearly see an NPC attack more than once in a single dialog node.

So, my question is, what other method is there to create these fight sequences? I’d like them to be identical every time. Should I use the ActionPlayAnimation or PlayAnimation functions? In that case, would I have to “manually” call the attacker’s and defender’s animation, plus any effects like sparks or lasers from blasters?
Have you tried putting the CutsceneAttack function in a for loop? Like this:

Show spoiler

Don't forget to insert the arguments for the CutsceneAttack function.

All of my mods are available on Deadlystream.

Always remember modders: "Quality= Effort*Time"

KSE 3.3.7 is LIVE!!! Check it out here.
Fair Strides 2 is offline   you may: quote & reply,