Aller au contenu

Photo

Fake Fighting


  • Veuillez vous connecter pour répondre
7 réponses à ce sujet

#1
edmogt1

edmogt1
  • Members
  • 52 messages
Is there a way I can copy the animations of one creature and dispatch the animations to another creature so that Creature A mirrors Creature B?
Image IPBImage IPB

#2
Kilrogg_

Kilrogg_
  • Members
  • 296 messages
In a cutscene or in gameplay? In a cutscene it's easy, copy/paste the track. In-game im not sure it's so easy

#3
Kilrogg_

Kilrogg_
  • Members
  • 296 messages
gah double post

Modifié par Kilrogg_, 06 août 2010 - 03:29 .


#4
edmogt1

edmogt1
  • Members
  • 52 messages
yeah in-game im trying to do it.

#5
edmogt1

edmogt1
  • Members
  • 52 messages
Basically, I'd like to know how to know how to play attack animations or casting animations, specifically, mage animations.

#6
edmogt1

edmogt1
  • Members
  • 52 messages
Okay, so this is where I'm at so far:



I have a custom event script for the creature to mimic movement. Inside, I have an event type for handling commands of different types.



I tried editing the rules_core and for the event type EVENT_TYPE_COMMAND_PENDING, i signal an event to the creature with the command.



My problem is that EVENT_TYPE_COMMAND_PENDING seems not to be triggered. I am testing with my Hero. Don't know if it has something to do with it...

#7
FergusM

FergusM
  • Members
  • 460 messages
Fighting a mirror man? :)



I don't know specifically about command pending, but for just playing animations you can use PlayAnimation(id) with an id taken from the ANIM_Base or ANIM_Combat 2DAs.

#8
edmogt1

edmogt1
  • Members
  • 52 messages
yeah, I'm copying the D&D spell Mirror Image to the best of my ability. So far, I've made the clones, but I'd like for them to actually mirror the caster's animations if possible. If not, I'll settle for just random animations.