natives.CHAR LOOK AT CHAR ALWAYS: Difference between revisions

(Add ScriptItem documentation from GTA VC SCM decompile)
 
(Add ScriptItem documentation from GTA VC SCM decompile)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
// CHAR_LOOK_AT_CHAR_ALWAYS
{{ScriptItem2
// 18 appels SCM
|side = client
 
PATTERNS SCM:
  $int to_look_at_actor VAR
  VAR to_look_at_actor $int
  VAR to_look_at_actor VAR
  int@ to_look_at_actor $int
  $int to_look_at_actor int@
  $int to_look_at_actor $int
 
PARAMS WIKI: int entity
 
EXEMPLES:
  char_look_at_char_always $2125 to_look_at_actor $player_actor
  char_look_at_char_always $player_actor to_look_at_actor $2125
  char_look_at_char_always $Lance_Vance to_look_at_actor $player_actor
 
TEMPLATE:
{{ScriptItem
|endpoint = client
|games = vc
|games = vc
|type = function
|type = function
|name = natives.CHAR_LOOK_AT_CHAR_ALWAYS
|name = natives.CHAR_LOOK_AT_CHAR_ALWAYS
|parameters = int entity
|arg1 = int char Character handle.
|parameter1 = int entity Description
|arg2 = int flag Flag value (0 or 1).
|usage = Perform the look at char always in Vice City.
|desc = makes a character continuously look at another character
|return1 = void
|return1 = void
|returnFail1 = void
}}
}}

Latest revision as of 18:29, 13 June 2026

Function Client Only icon-vc.png Online and Offline

Available since Client 1.0.0
void natives.CHAR_LOOK_AT_CHAR_ALWAYS(int char, int flag)
The natives.CHAR_LOOK_AT_CHAR_ALWAYS function is used to makes a character continuously look at another character.

Parameters

1) int char Character handle.
2) int flag Flag value (0 or 1).

Return

void This function doesn't return a value.

Notes

There aren't any notes for this function.

Examples

There aren't any examples for this function.

Compatibility

There isn't any compatibility information for this function.