Download

UnrealScript event Touch C++_Transition

Hi everybody!

i want to turn to c++ in the example’s touch function

Thank

EXAMPLE!

class CustomPawn extends UDKPawn;

var CustomDamageVolume DM;

event Touch(Actor Other, PrimitiveComponent OtherComp, Vector HitLocation, Vector HitNormal)
{
local CustomDamageVolume LT;

LT = CustomDamageVolume(Other);

if(LT != none)
{
DM = LT;
LogInternal(“CustomDamageVolume ReadyUsing”);
}
super(Actor).Touch(Other, OtherComp, HitLocation, HitNormal);
}