Posts: 67
Threads: 19
Joined: Jun 2018
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
Posts: 637
Threads: 23
Joined: Feb 2013
Reputation:
0
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.