List of CS:GO Script Functions/ko
< List of CS:GO Script Functions(Redirected from List of Counter-Strike: Global Offensive Script Functions:ko)
Language subpage
This subpage is used on the List of CS:GO Script Functions page to display content in 한국어 (Korean).
If you have edited the language subpage, do not forget to purge the base page by clicking on the button on the right. Otherwise, its contents will not be updated.
이 목록은 엔진과 관련된 Squirrel 클래스를 포함하고 있습니다, 함수와 변수는 in Counter-Strike: Global Offensive 의 VScript에서 이용 가능 합니다. 공식 문서는 developer
설정에 따라 콘솔에 나타낼 수 있습니다, 맵을 로드하고, script_help
를 실행시킵니다.
Variables
Instance | Type | Description |
---|---|---|
Entities
|
CEntities
|
서버에서 생성된 엔디티에 대한 접근을 제공합니다. |
Constants
Instance | Type | Value |
---|---|---|
_charsize_
|
integer | 1 |
_floatsize_
|
integer | 4 |
_intsize_
|
integer | 4 |
_version_
|
string | "Squirrel 2.2.3 stable" |
RAND_MAX
|
integer | 32767 |
PI
|
float | 3.14159 |
Classes
CBaseEntity
이것은 엔디티를 위한 클래스를 조종하는 스크립트입니다. 모든 스폰된 엔디티들은 이 하위 클래스들을 사용하여 스크립트 핸들을 가지고 있습니다.
모든 인게임 스크립트 핸들은 Entities로부터 접근이 가능합니다. 엔디티 스크립트들은 self
를 사용하여 그들만의 스크립트 핸들에 접근할 수 있습니다. activator
와 caller
변수들은 함수 calls에 의해 접근할 수 있습니다.
Methods
Function | Signature | Description |
---|---|---|
__KeyValueFromInt
|
bool __KeyValueFromInt(string key, int value)
|
엔디티의 keyvalue 를 정수형 value로 설정합니다. |
__KeyValueFromFloat
|
bool __KeyValueFromFloat(string key, float value)
|
엔디티의 keyvalue 를 실수형 value로 설정합니다. |
__KeyValueFromString
|
bool __KeyValueFromString(string key, string value)
|
엔디티의 keyvalue 를 문자형 value로 설정합니다. |
__KeyValueFromVector
|
bool __KeyValueFromVector(string key, Vector value)
|
엔디티의 keyvalue 를 Vector형 value로 설정합니다. |
ConnectOutput
|
void ConnectOutput(string output, string function)
|
특정한 output 실행으로 이름이 명명된 함수를 불러올 수 있는 I/O 연결을 추가합니다 |
DisconnectOutput
|
void DisconnectOutput(string output, string function)
|
I/O 이벤트로부터 연결된 스크립트 함수를 제거합니다. |
Destroy
|
void Destroy()
|
엔디티를 제거합니다. |
EmitSound
|
void EmitSound(string soundname)
|
엔디티의 위치에서 사운드를 재생합니다. |
entindex
|
int entindex()
|
엔디티 색인을 반환합니다. |
EyePosition
|
Vector EyePosition()
|
눈 위치의 vector를 반환합니다 - 절대 좌표 |
FirstMoveChild
|
handle FirstMoveChild()
|
계층 상태라면, 처음 움직인 child를 반환합니다. |
GetAngles
|
Vector GetAngles()
|
엔디티의 pitch, yaw, roll를 vector로 반환합니다. |
GetAngularVelocity
|
Vector GetAngularVelocity()
|
각속도를 불러옵니다. (역 : 각이 돌아가는 속력) - vector 형태의 pitch, yaw, roll을 반환합니다. |
GetBoundingMaxs
|
Vector GetBoundingMaxs()
|
Get a vector containing max bounds, centered on object |
GetBoundingMins
|
Vector GetBoundingMins()
|
Get a vector containing min bounds, centered on object |
GetCenter
|
Vector GetCenter()
|
오브젝트의 센터 값을 반환합니다 - 전역좌표 |
GetClassname
|
string GetClassname()
|
엔디티의 클래스 이름을 반환합니다. |
GetForwardVector
|
Vector GetForwardVector()
|
엔디티의 순방향 벡터를 반환합니다. |
GetHealth
|
int GetHealth()
|
현재 체력을 반환합니다. |
GetLeftVector
|
Vector GetLeftVector()
|
엔디티의 오른쪽 벡터 값을 반환합니다. |
GetMaxHealth
|
int GetMaxHealth()
|
최대 체력을 반환합니다. |
GetModelKeyValues
|
CScriptKeyValues GetModelKeyValues()
|
엔디티의 모델의 $keyvalues 블록을 #CScriptKeyValues 오브젝트로 반환합니다. 이것은 엔디티 자신의 keyvalues가 아닙니다. |
GetModelName
|
string GetModelName()
|
모델의 이름을 반환합니다. |
GetMoveParent
|
handle GetMoveParent()
|
계층 관계라면, 엔디티의 parent를 찾습니다. |
GetName
|
string GetName()
|
엔디티의 targetname을 반환합니다. |
GetOrigin
|
Vector GetOrigin()
|
엔디티의 local origin 값을 반환합니다. |
GetOwner
|
handle GetOwner()
|
엔디티의 Owner을 반환합니다. |
GetPreTemplateName
|
string GetPreTemplateName()
|
템플릿 고유 장식에서 제거 된 엔티티의 이름을 반환합니다. This is the &048 suffix added by templates that do not preserve the entity name.
|
GetRootMoveParent
|
handle GetRootMoveParent()
|
계층 관계라면, 계층 구조 위로 올라가 parent를 찾습니다. |
GetScriptId
|
string GetScriptId()
|
엔디티의 thinkfunction keyvalue를 반환합니다. |
GetScriptScope
|
handle GetScriptScope()
|
이 엔디티와 연관된 엔디티 스크립트를 저장하는 테이블을 찾습니다. |
GetSoundDuration
|
float GetSoundDuration(string soundname, string actormodel)
|
사운드가 지속된 사간을 float 형으로 반환합니다. |
GetTeam
|
int GetTeam()
|
엔디티가 있는 팀을 반환합니다. |
GetUpVector
|
Vector GetUpVector()
|
엔디티의 위쪽 벡터를 반환합니다. |
GetVelocity
|
Vector GetVelocity()
|
엔디티의 속도를 반환합니다. |
IsValid
|
bool IsValid()
|
handle이 유효한 엔디티인지 판별합니다. |
NextMovePeer
|
handle NextMovePeer()
|
같은 계층의 다음 엔디티를 반환합니다. |
PrecacheModel
|
void PrecacheModel(string modelname)
|
모델을 프리캐시합니다. Expensive. |
PrecacheScriptSound
|
void PrecacheScriptSound(string soundname)
|
사운드를 프리캐시합니다. Expensive. |
PrecacheSoundScript
|
void PrecacheSoundScript(string soundscript)
|
나중에 재생할 사운드를 프리캐시합니다. Expensive. |
SetAbsOrigin
|
void SetAbsOrigin(Vector position)
|
절대 좌표를 설정합니다. |
SetAngles
|
void SetAngles(float pitch, float yaw, float roll)
|
엔디티의 pitch, yaw, roll을 설정합니다. |
SetAngularVelocity
|
void SetAngularVelocity(float pitch, float yaw, float roll)
|
local 각속도를 설정합니다. flaot 형의 pitch, yaw, roll 속도를 가져갑니다. |
SetForwardVector
|
void SetForwardVector(Vector forwardvec)
|
순방향 벡터를 가질 엔디티의 방향을 설정합니다. |
SetHealth
|
void SetHealth(int health)
|
현재 체력을 설정합니다. |
SetMaxHealth
|
void SetMaxHealth(int health)
|
최대 체력을 설정합니다. |
SetModel
|
void SetModel(string modelname)
|
엔디티의 모델을 변경합니다. 모델을 프리캐시하지는 않습니다. |
SetOrigin
|
void SetOrigin(Vector position)
|
local origin을 설정합니다. |
SetOwner
|
void SetOwner(handle owner)
|
엔디티의 owner을 설정합니다. |
SetSize
|
void SetSize(Vector mins, Vector maxs)
|
bounding box의 크기를 설정합니다. |
SetTeam
|
void SetTeam(int team)
|
엔디티의 팀을 설정합니다. |
SetVelocity
|
void SetVelocity(Vector velocity)
|
local 속도를 설정합니다. |
StopSound
|
void StopSound(string soundname)
|
엔디티에서의 사운드를 중지합니다. |
ValidateScriptScope
|
bool ValidateScriptScope()
|
엔디티의 스크립트 범위가 설정되었는지 확인합니다. |