Getting characters to react to other characters

mishadude

New member
Hi. Is there a way to make characters play sounds when they meet other characters? For example, get Hulk to say "Hulk hate Leader!" when he meets Leader as a Boss, or get him to say "Tin Can Man is Hulk's friend" when Iron Man player or npc spawns with Hulk or after him?
 
1 method i can recommend is an "attack" or an idle animation , this attack has a very brief animation frame, & a certain range
after the frame, you call a  command to the sound you need.

you may also need a script to go with this to make the detection range a big "3d" space (that way your character can "see" the other & do the "attack"
and another script that helps your character detect the other specific character.

another method is to spawn an invisible entity when the 2 characters meet, this invisible entity has a spawn animation with invisible frames , between the frames you put the command for the sound, script may be needed for this detection to happen dynamically (independent of stage coordinates)
 
It's doable, but you need to specify when Hulk reacts. Do you want him to reacts anytime, including when he's smashing and when he's falling? or only in IDLE and WALK?

Next, when he reacts, does he performs special animation or does he only produce sound without changing animation?
 
Bloodbane said:
It's doable, but you need to specify when Hulk reacts. Do you want him to reacts anytime, including when he's smashing and when he's falling? or only in IDLE and WALK?
Once per level. Either in idle or walk
Bloodbane said:
Next, when he reacts, does he performs special animation or does he only produce sound without changing animation?
No special animation. Just play a sound file
 
Back
Top Bottom