CNavLadder
15 own methods
Navigation ladders class
Methods
callable on a CNavLadder script handle| Script Function | Returns | Parameters | Description |
|---|---|---|---|
| ConnectTo (ScriptConnectTo) | void | hscript | Connect this ladder to given area |
| Disconnect (ScriptDisconnect) | void | hscript | Disconnect this ladder from given area |
| GetBottomArea (ScriptGetBottomArea) | hscript | none | Area of the bottom of the ladder |
| GetBottomOrigin (ScriptGetBottomOrigin) | Vector | none | World coords of the bottom of the ladder |
| GetDir (ScriptGetDir) | int | none | Return the way the ladder faces (ie: surface normal of climbable side) |
| GetID (ScriptGetID) | int | none | Get ladder ID. |
| GetLadderEntity (ScriptGetLadderEntity) | hscript | none | Returns the ladder entity |
| GetLength (ScriptGetLength) | float | none | Return the length of the ladder |
| GetPosAtHeight | Vector | float | Return x,y coordinate of the ladder at a given height |
| GetTopArea (ScriptGetTopArea) | hscript | none | Area of the top of the ladder |
| GetTopOrigin (ScriptGetTopOrigin) | Vector | none | World coords of the top of the ladder |
| GetWidth (ScriptGetWidth) | float | none | Return the width of the ladder |
| IsConnected (ScriptIsConnected) | bool | hscript, int | Return true if given ladder is connected in given direction |
| IsInUse (ScriptIsInUse) | bool | hscript | Return true if someone is on this ladder (other than 'ignore') |
| IsUsableByTeam | bool | int | Returns true if ladder is usable for team |