There are many options available in the content browser.
We then have to go into kismet and begin to program. We add a trigger of type touch. We then add a toggle and modify health block. We the add a variable of player and attach it to the trigger as instigator and to the modify health as its target.
Kismet for damaging health |
Next we select the particle effect which we added and right click in kismet and add both an object variable and new event using " particle effect" particle event. We then attach the new object variable to the toggle as its target and the modify health as its instigator.
Finally we attach the particle event to the toggle as an event.
Kismet for damaging explosion |
The very last thing to do is to click on modify health and change the amount, radius and falloff to suit your requirements
Properties of modify Health |
No comments:
Post a Comment