mirror of
https://github.com/mapbase-source/source-sdk-2013.git
synced 2025-01-15 08:17:57 +03:00
Updated VScript in Mapbase (markdown)
parent
82276183a6
commit
287fe35fe5
@ -41,7 +41,7 @@ For more information on VScript itself, [click here](https://developer.valvesoft
|
|||||||
* [CLogicExternalData](VScript-in-Mapbase#CLogicExternalData)
|
* [CLogicExternalData](VScript-in-Mapbase#CLogicExternalData)
|
||||||
* [Modified VScript Classes](VScript-in-Mapbase#Modified-VScript-Classes)
|
* [Modified VScript Classes](VScript-in-Mapbase#Modified-VScript-Classes)
|
||||||
* [CBaseEntity](VScript-in-Mapbase#CBaseEntity)
|
* [CBaseEntity](VScript-in-Mapbase#CBaseEntity)
|
||||||
* [Hooks](VScript-in-Mapbase#Hooks-2)
|
* [Hooks](VScript-in-Mapbase#Hooks_2)
|
||||||
* [CBasePlayer](VScript-in-Mapbase#CBasePlayer)
|
* [CBasePlayer](VScript-in-Mapbase#CBasePlayer)
|
||||||
* [CScriptKeyValues](VScript-in-Mapbase#CScriptKeyValues)
|
* [CScriptKeyValues](VScript-in-Mapbase#CScriptKeyValues)
|
||||||
|
|
||||||
@ -105,6 +105,7 @@ The base class shared by players and NPCs.
|
|||||||
| *handle* FindWeapon(string *classname*)| Find a specific weapon in the character's inventory by its classname. |
|
| *handle* FindWeapon(string *classname*)| Find a specific weapon in the character's inventory by its classname. |
|
||||||
| *Vector* ShootPosition()| Get the character's shoot position. |
|
| *Vector* ShootPosition()| Get the character's shoot position. |
|
||||||
| *void* DropAllWeapons()| Make the character drop all of its weapons. |
|
| *void* DropAllWeapons()| Make the character drop all of its weapons. |
|
||||||
|
| *void* EquipWeapon()| Make the character equip the specified weapon. If they don't already own the weapon, they will acquire it instantly. |
|
||||||
| *int* GetAmmoCount(string *type*)| Get the ammo count of the specified ammo type. |
|
| *int* GetAmmoCount(string *type*)| Get the ammo count of the specified ammo type. |
|
||||||
| *void* SetAmmoCount(string *type*, int *count*)| Set the ammo count of the specified ammo type. |
|
| *void* SetAmmoCount(string *type*, int *count*)| Set the ammo count of the specified ammo type. |
|
||||||
| *int* GetRelationship(handle *target*)| Get a character's relationship to a specific entity. |
|
| *int* GetRelationship(handle *target*)| Get a character's relationship to a specific entity. |
|
||||||
|
Loading…
x
Reference in New Issue
Block a user