ENTITY/IsJumpLegal

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
Robotboy655 (Talk | contribs)
(Created page with "{{Hook |Description={{NextUpdate}}Called when deciding if the Scripted NPC should be able to perform a certain jump or not. {{Note|This is only called for "ai" type entities}}...")
Newer edit →

Revision as of 14:14, 12 August 2019

 ENTITY:IsJumpLegal( )

Contents

Description

Next Update Change

This feature is only available in the next update.
Called when deciding if the Scripted NPC should be able to perform a certain jump or not.
NOTE

This is only called for "ai" type entities

Arguments

Vector startPos

Start of the jump

Arguments

Vector apex

Apex point of the jump

Arguments

Vector endPos

The landing position

Returns

boolean

Return true if this jump should be allowed to be performed, false otherwise
Personal tools
Navigation