What script controls what happens when the player weapon collides with a monster?

mAnthon

New member
I'm using a script that shoots. I have the projectile set as "player weapon" and when it hits a monster, the monster disappears. I want to edit the script to play a certain sounds when it hits the monsters and maybe to trigger an explosion animation object. Where is this in the scripts? I know the code to make it play the sound, just not sure where to add it.
 

Mugi

Member
handlemonsterhurt i suppose.

it should be assigned to "handle monster hurt" in scripts settings.
 
Top Bottom