Help about Thor class
#1

So guys I am working on 1 gamemode and I want to create class called "Thor" so I want it's ability to go in air by pressing LALT and come down with speed so to near Enemy get damaged 50 percent health lost of enemy and 0 of Thor
Reply
#2

To check if the player has pressed LALT use "OnPlayerKeyPress".. for jumping in air use "SetPlayerVelocity".. for decreasing enemy health check with "IsPlayerInRangeOfPoint" and damage the players in range.. but Thor would lose health because of jumping from height you can store its health in a variable and then give back after collision.
sorry for my bad English.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)