These are my 2 attempts:
Code: Select all
Class Tripper extends triggers;
//Didn't work, just locked up player movement and gave a log error because state doesn't exist
function Trigger( actor Other, pawn EventInstigator )
{
if ( EventInstigator.bIsPlayer)
EventInstigator.GotoState('PlayFeignDeath');
Else
Return;
}
//http://pastebin.com/Nhww0fgz
Class Tripper extends triggers;
//Does nothing whatsoever except give access none
function Trigger( actor Other, Pawn EventInstigator )
{
local Tournamentplayer T;
if ( EventInstigator.bIsPlayer)
T.PlayFeignDeath();
Else
Return;
}
//http://pastebin.com/Nhww0fgz