Talk:Targetname: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
Line 4: Line 4:
*Only the one of CT's
*Only the one of CT's
I already figured out that you can select all players by making a '''[[Logic_auto]]''' and set OnMapSpawn, and the target to '''player'''. Thanks in advance! --[[User:CrabbyData|CrabbyData]] 08:10, 13 May 2006 (PDT)
I already figured out that you can select all players by making a '''[[Logic_auto]]''' and set OnMapSpawn, and the target to '''player'''. Thanks in advance! --[[User:CrabbyData|CrabbyData]] 08:10, 13 May 2006 (PDT)
:You would need to use a logical statement of <code>if player team = counter</code>, or similar. I'm not sure that that's possible though. --[[user:TomEdwards|TomEdwards]] 08:33, 13 May 2006 (PDT)
:You would need to use a logical statement of <code>if player team = counter</code>, or similar. I'm not sure that that's possible though. --[[user:TomEdwards|TomEdwards]] 08:33, 13 May 2006 (PDT)
::Where should I put that? Because, I can't alter everybody's CS:S source-code to make that work... --[[User:CrabbyData|CrabbyData]] 09:01, 13 May 2006 (PDT)
::Where should I put that? Because, I can't alter everybody's CS:S source-code to make that work... --[[User:CrabbyData|CrabbyData]] 09:01, 13 May 2006 (PDT)
:::That's why I don't know if it's possible. --[[user:TomEdwards|TomEdwards]] 09:04, 13 May 2006 (PDT)

Revision as of 09:04, 13 May 2006

Flashlight on at start of round (CS:S)

Could someone tell me how to make it so, that, in CS:S, at the start of every round, only the flashlights of the CT are ON. So:

  • At the start of a round, flashlights on
  • Only the one of CT's

I already figured out that you can select all players by making a Logic_auto and set OnMapSpawn, and the target to player. Thanks in advance! --CrabbyData 08:10, 13 May 2006 (PDT)

You would need to use a logical statement of if player team = counter, or similar. I'm not sure that that's possible though. --TomEdwards 08:33, 13 May 2006 (PDT)
Where should I put that? Because, I can't alter everybody's CS:S source-code to make that work... --CrabbyData 09:01, 13 May 2006 (PDT)
That's why I don't know if it's possible. --TomEdwards 09:04, 13 May 2006 (PDT)