The second argument is the script to attach to this input. The first argument is the input to listen for, as seen in the developer console (e.g., "+forward"). This will fire regardless of how crouched the player was before beginning to stand up.įunction for adding scripts to player inputs as returned by the game_ui entity. triggers when the player begins to uncrouch.This will not fire if the player is unable to crouch, for example, when in the air following a jump. triggers when the player begins crouching.This will trigger when landing from previously being in the air, or when walking from, for example, a concrete surface to a metal one. triggers when the player changes the surface they're standing on.This is true even when the player is already in the air or crouching. triggers when the player performs the jump input.Accepts one argument - the script to attach, either a string or function. Set of functions for adding scripts to player movement actions. Reverses iteration over a list of entities, finding the previous entity to match the given criteria. Please note that, if used excessively, this function may impact performance more than the native CEntities methods.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |