Raised This Month: $ Target: $400
 0% 

Multi_Manager Round Start


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
point.blank
Member
Join Date: Oct 2007
Old 06-30-2010 , 22:34   Multi_Manager Round Start
Reply With Quote #1

I need to call a multi_manager whenever the round starts. possible?
__________________
point.blank is offline
wrecked_
Veteran Member
Join Date: Jan 2010
Location: New York (GMT-5)
Old 06-30-2010 , 22:38   Re: Multi_Manager Round Start
Reply With Quote #2

Maybe; what's a multi_manager?
__________________
[ Paid Requests ]
DO NOT PM ME ABOUT BLOCKMAKER
NO PRIVATE SUPPORT
wrecked_ is offline
point.blank
Member
Join Date: Oct 2007
Old 06-30-2010 , 22:45   Re: Multi_Manager Round Start
Reply With Quote #3

An entity within a map.
"The multi_manager entity can be used as a relay.This means it can be used to trigger a number of events .For example you wanted a person to walk into a room and trigger a sequence of events. You could use a normal trigger_once entity to target the multi_manager, so once the player passes through the trigger_once the multi_manager is activated.Now the multi_manager targets a number of events and it controls the order in which these events are activated."
__________________
point.blank is offline
wrecked_
Veteran Member
Join Date: Jan 2010
Location: New York (GMT-5)
Old 06-30-2010 , 23:11   Re: Multi_Manager Round Start
Reply With Quote #4

Are there several of these entities in your map, or just one? How is it triggered, by use?
__________________
[ Paid Requests ]
DO NOT PM ME ABOUT BLOCKMAKER
NO PRIVATE SUPPORT
wrecked_ is offline
point.blank
Member
Join Date: Oct 2007
Old 06-30-2010 , 23:14   Re: Multi_Manager Round Start
Reply With Quote #5

just one multi_manager in the map. The targetname of the multi_manager is mm1. There is a button that when pressed, targets the multi_manager
__________________
point.blank is offline
wrecked_
Veteran Member
Join Date: Jan 2010
Location: New York (GMT-5)
Old 06-30-2010 , 23:26   Re: Multi_Manager Round Start
Reply With Quote #6

Code:
#include <amxmodx> #include <fakemeta> new MMButton public plugin_init() {     register_plugin( "MultiManager On Roundstart", "1.0", "Wrecked" )         MMButton = engfunc( EngFunc_FindEntityByString, -1, "targetname", "mm1" )         if( !MMButton )         set_fail_state( "Error: multi_manager entity not found." )         register_logevent( "LogEventRoundStart", 2, "1=Round_Start" ) } public LogEventRoundStart()     dllfunc( DLLFunc_Use, MMButton, 0 )
__________________
[ Paid Requests ]
DO NOT PM ME ABOUT BLOCKMAKER
NO PRIVATE SUPPORT

Last edited by wrecked_; 07-01-2010 at 00:15.
wrecked_ is offline
point.blank
Member
Join Date: Oct 2007
Old 06-30-2010 , 23:45   Re: Multi_Manager Round Start
Reply With Quote #7

"Error: multi_manager entity not found."
Strange, this is why I was wondering if it was possible

edit:
Code:
engfunc( EngFunc_FindEntityByString, -1, "target", "mm1" )
changed to
Code:
engfunc( EngFunc_FindEntityByString, -1, "targetname", "mm1" )
works perfectly now.
THANKS!
__________________

Last edited by point.blank; 07-01-2010 at 00:01.
point.blank is offline
wrecked_
Veteran Member
Join Date: Jan 2010
Location: New York (GMT-5)
Old 07-01-2010 , 00:15   Re: Multi_Manager Round Start
Reply With Quote #8

Quote:
Originally Posted by point.blank View Post
changed to
Code:
engfunc( EngFunc_FindEntityByString, -1, "targetname", "mm1" )
works perfectly now.
THANKS!
Haha, woops. No problem.
__________________
[ Paid Requests ]
DO NOT PM ME ABOUT BLOCKMAKER
NO PRIVATE SUPPORT
wrecked_ is offline
Reply


Thread Tools
Display Modes

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:42.


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