Difference between revisions of "Talk:Ai relationship"

From Valve Developer Community
Jump to: navigation, search
Line 2: Line 2:
  
 
Yes, and what if the game is multiplayer? What targetname/classname do you use for that? Valve's documentation on that seems to be missing. --[[User:TheJ89|TheJ89]] 13:24, 17 Jul 2005 (PDT)
 
Yes, and what if the game is multiplayer? What targetname/classname do you use for that? Valve's documentation on that seems to be missing. --[[User:TheJ89|TheJ89]] 13:24, 17 Jul 2005 (PDT)
 +
 +
In singleplayer, !player (which is a [[pointer]] pointing twoard the local player entity) will pretend be treated as a targetname and treat the player thusly.--[[User:TheJ89|TheJ89]] 13:27, 17 Jul 2005 (PDT)

Revision as of 20:27, 17 July 2005

What are you supposed to use for a classname or targetname if you want the relationship to change torwards the player? Will info_player_start work?

Yes, and what if the game is multiplayer? What targetname/classname do you use for that? Valve's documentation on that seems to be missing. --TheJ89 13:24, 17 Jul 2005 (PDT)

In singleplayer, !player (which is a pointer pointing twoard the local player entity) will pretend be treated as a targetname and treat the player thusly.--TheJ89 13:27, 17 Jul 2005 (PDT)