Talk:Ai relationship: Difference between revisions
mNo edit summary |
No edit summary |
||
Line 8: | Line 8: | ||
:That will '''def''' work coz it's a classname, and the i/o system likes classnames —[[User:Ts2do|Ts2do]] 11:48, 17 Sep 2005 (PDT) | :That will '''def''' work coz it's a classname, and the i/o system likes classnames —[[User:Ts2do|Ts2do]] 11:48, 17 Sep 2005 (PDT) | ||
How does one get an NPC to shoot at a particular object (not another NPC)? ai_relationship doesn't work for this, and [[ai_changetarget]] doesn't affect NPCs. —'''[[User:Maven|Maven]]''' <sup>([[User talk:Maven|talk]])</sup> 12:05, 17 Sep 2005 (PDT) |
Revision as of 12:05, 17 September 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)
And I have read that player
(without the !
) targets all players in singleplayer or multiplayer games. I have not confirmed this. —Maven (talk) 11:34, 17 Sep 2005 (PDT)
- That will def work coz it's a classname, and the i/o system likes classnames —Ts2do 11:48, 17 Sep 2005 (PDT)
How does one get an NPC to shoot at a particular object (not another NPC)? ai_relationship doesn't work for this, and ai_changetarget doesn't affect NPCs. —Maven (talk) 12:05, 17 Sep 2005 (PDT)