Guest User

Untitled

a guest
Jan 15th, 2023
22
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.25 KB | None | 0 0
  1. function IgnitePlayer()
  2. {
  3.     // ignite activator (player) for 1 second
  4.     activator.Ignite(1.0,false,1.0,false);
  5.     // remove caller (trigger). Caller is the same as self in this case.
  6.     caller.Destroy();
  7. }
  8.  
  9. self.ConnectOutput( "OnStartTouch", "IgnitePlayer" )
Advertisement
Add Comment
Please, Sign In to add comment