UDK has built-in functionality for healing players through pickups such as health packs, but there is no way for one player to heal another.
In the following recipe, we'll create an instant hit weapon that heals a target for 10 points of health each time it is shot.
Start by creating a new class called
MyWeapon_HealingInstantHit and have it extend from
class MyWeapon_HealingInstantHit extends MyWeapon;
MyWeaponclass is that adding additional functionality to it is a breeze. This class has only one function. Let's add the
First, we define the pawn that is being hit. Then, it takes the
ProcessInstantHit() function ...