Entity::isStatic

From RAGE Multiplayer Wiki
Revision as of 23:41, 6 May 2017 by Marty uploader (talk | contribs) (yay)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

a static ped will not react to natives like 'APPLY_FORCE_TO_ENTITY' or 'SET_ENTITY_VELOCITY' and oftentimes will not react to task-natives like 'Player::TASK_COMBAT_PED'. The only way I know of to make one of these peds react is to ragdoll them (or sometimes to use CLEAR_Player_TASKS_IMMEDIATELY(). Static peds include almost all far-away peds, beach-combers, peds in certain scenarios, peds crossing a crosswalk, peds walking to get back into their cars, and others. If anyone knows how to make a ped non-static without ragdolling them, please edit this with the solution.

how to i meik static entyti??

Syntax

entity.isStatic();

Required Arguments

Return value

  • Boolean

Example

// todo

See also