Browsing StarfallEx's section
โ† Back to ACE
Back to StarfallEx

SFEX.hook.CreateMove

C๐Ÿท๏ธ Hooks

Part of StarfallEx namespace

๐Ÿ”— External
hook.add("CreateMove", "name", function(cmd) end)
View on GitHub|lua/starfall/libs_sh/hook.lua:394
๐Ÿ“‹ Has LDoc๐Ÿ‘๏ธ 0 viewsUpdated 2 months ago

Description

Called whenever a CUserCmd is made for the local player. This runs twice per frame, one for movement one for camera. You can use cmd:getCommandNumber to check which one it is if you want to only run on one of them. Camera will have a 0 command number.

Parameters

NameTypeDescription
cmdCUserCmdThe UserCmd being created

Returns

No return values documented.

Examples

No examples available.

Used In

No usages found in the codebase.