Raised This Month: $ Target: $400
 0% 

Event Help


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
JonnyH
Junior Member
Join Date: Apr 2004
Old 07-05-2004 , 05:50   Event Help
Reply With Quote #1

Hi,

Is there an event that indicates a new map has been loaded in CS?

I am trying to run a script as the new map is loaded and\or as a player connects. I tried looking at the list the Function search thing provides in register_event, but there are no lists for CS.

Any help would be great, thanks.
JonnyH is offline
PM
hello, i am pm
Join Date: Jan 2004
Location: Canalization
Old 07-05-2004 , 07:17  
Reply With Quote #2

plugin_init is called on mapchange
__________________
hello, i am pm
PM is offline
Ryan
Senior Member
Join Date: May 2004
Location: NH, USA
Old 07-05-2004 , 10:44  
Reply With Quote #3

yeah there's plugin_init() on mapchange, as well as many events that can be called from register_event()

example:
Code:
register_event( "ResetHUD", "Event_PlayerSpawn", "b" );

is called for each player when they spawn (at the start of the round(s)).
__________________
Warcraft 3: Expansion
Homepage | Downloads | Forums
Ryan is offline
Send a message via AIM to Ryan
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:42.


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