Raised This Month: $51 Target: $400
 12% 

Disable teleporter when it is more than x players in destination zone.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Kimhau
New Member
Join Date: May 2019
Old 05-18-2019 , 16:28   Disable teleporter when it is more than x players in destination zone.
Reply With Quote #1

Hello

Preinfo:
I'm making an "arena" map that includes four teleporters. Three teleporters that teleports directly to each own zone, while the last teleporter is random one of the three zones.

Problem:
As title says, I would like to deactivate/disable teleporter_1 if there is more than x players in destination zone. I have currently fumbled over game_zone_players to help me count numbers of players, but what I do from there and how the game_zone_players will communicate with teleporters is beyond my knowledge. I would really appriciate any help or solution to this matter, if possible.

I have not much experience with hammer other than basics
Kimhau is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 05-19-2019 , 16:51   Re: Disable teleporter when it is more than x players in destination zone.
Reply With Quote #2

Are you looking to do this purely with map logic or using a SourceMod plugin?
__________________
asherkin is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 10:43.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode