Page MenuHomeFeedback Tracker

setVelocity causes instantaneous injury to players, but not to npcs
Closed, ResolvedPublic


if you use player setVelocity [0,0,10] on a player, they will take damage and play an animation that appears to be associated with being hit by an explosion. If this command is used on an npc instead, the npc is launched at 10 m/s into the air. I'm not sure which of these behaviors is the desired one, but it would be nice for the command to be consistent. As a point of utility, it would be nice to be able to use setVelocity on the player in order to make them fly, or perform some other velocity type of action. Hang glider or segue or something, maybe?

Note that higher values, such as 25 for the y component will result in death of the player and them being launched a very short ways as if they had been standing on explosives when they detonated.


Legacy ID
Health System
Steps To Reproduce

Setup player setVelocity [0,0,10]; as a radio trigger and activate it in game.

Event Timeline

TraxusIV edited Steps To Reproduce. (Show Details)Apr 12 2013, 3:24 PM
TraxusIV edited Additional Information. (Show Details)
TraxusIV set Category to Health System.
TraxusIV set Reproducibility to Always.
TraxusIV set Severity to Minor.
TraxusIV set Resolution to Open.
TraxusIV set Legacy ID to 2365431600.May 7 2016, 1:34 PM
MadDogX added a subscriber: MadDogX.May 7 2016, 1:34 PM

Mass closing ancient tickets with no activity for > 12 months; assume fixed or too trivial.

If this issue is still relevant in current dev build, please re-post.