MCPcopy Create free account
hub / github.com/StrongPC123/Far-Cry-1-Source-Full / SetValueChain

Method SetValueChain

CryScriptSystem/ScriptObject.cpp:199–204  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

197}
198
199void CScriptObject::SetValueChain(const char *sKey, int nVal)
200{
201 lua_pushstring(m_pLS, sKey);
202 lua_pushnumber(m_pLS, (lua_Number)nVal);
203 SET_FUNCTION(m_pLS, - 3);
204}
205
206void CScriptObject::SetValue(const char *sKey, int nVal)
207{

Callers 15

SetMethod · 0.80
GetLocalOSTimeMethod · 0.80
SetMemberVectorMethod · 0.80
GetPosMethod · 0.80
GetCenterOfMassPosMethod · 0.80
GetObjectPosMethod · 0.80
GetObjectAnglesMethod · 0.80
GetAnglesMethod · 0.80
CheckCollisionsMethod · 0.80
OnCollideMethod · 0.80
SetMemberVectorMethod · 0.80
GetViewIntersectionMethod · 0.80

Calls 7

lua_pushstringFunction · 0.85
lua_pushnumberFunction · 0.85
lua_pushnilFunction · 0.85
CryWarningFunction · 0.85
lua_xgetrefFunction · 0.85
lua_getrefFunction · 0.85
GetRefMethod · 0.80

Tested by

no test coverage detected