Raised This Month: $ Target: $400
 0% 

Round Start


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Fireflasch7
Junior Member
Join Date: Feb 2015
Old 07-08-2015 , 13:55   Round Start
Reply With Quote #1

hey,
is it possible to execute an Action or an Void at Roundstart without HookEvents?
Regards Fireflasch7
Fireflasch7 is offline
Potato Uno
Veteran Member
Join Date: Jan 2014
Location: Atlanta, Georgia
Old 07-08-2015 , 15:16   Re: Round Start
Reply With Quote #2

I don't think so (but I could be wrong), since without hooking to an event I don't see any way that your plugin will know that the round started (the purpose of event firing is to do exactly that - notify your plugins something has happened).

Why don't you want to hook to events?
Potato Uno is offline
Benoist3012
Veteran Member
Join Date: Mar 2014
Location: CWave::ForceFinish()
Old 07-10-2015 , 04:45   Re: Round Start
Reply With Quote #3

Quote:
Originally Posted by Fireflasch7 View Post
hey,
is it possible to execute an Action or an Void at Roundstart without HookEvents?
Regards Fireflasch7
Wich game you use? If you use tf2 there is a other way for check if a round started
__________________
Benoist3012 is offline
Miu
Veteran Member
Join Date: Nov 2013
Old 07-10-2015 , 11:39   Re: Round Start
Reply With Quote #4

why would you not want to hook it? o.o
Miu is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 07-10-2015 , 12:03   Re: Round Start
Reply With Quote #5

If this is TF2 and you're finding that hooking round_start doesn't work, it's because TF2 uses teamplay_round_start instead.
__________________
Not currently working on SourceMod plugin development.
Powerlord is offline
Benoist3012
Veteran Member
Join Date: Mar 2014
Location: CWave::ForceFinish()
Old 07-11-2015 , 04:33   Re: Round Start
Reply With Quote #6

Quote:
Originally Posted by Powerlord View Post
If this is TF2 and you're finding that hooking round_start doesn't work, it's because TF2 uses teamplay_round_start instead.
Yes and if he don't want to hook the event, he can do that HookEntityOutput("team_control_point_round", "OnStart", OnRoundStart);.
But this entity is most of the time only in 3-round map.
__________________
Benoist3012 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 14:30.


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