User Tools

Site Tools


scripting:functions_custom_events_overview

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
scripting:functions_custom_events_overview [2012/03/25 18:46] mitscripting:functions_custom_events_overview [2025/05/28 16:34] (current) – external edit 127.0.0.1
Line 44: Line 44:
    *event Bob YourCustomEventName    *event Bob YourCustomEventName
 </codedoc> </codedoc>
-would display '''My Custom Event has been triggered for Bob''.+would display ''My Custom Event has been triggered for Bob''.
  
 <note important> <note important>
-Be very careful with events calling other events, particularly when using ''*eventallonline'' or Sleeps. Many commands (addbackgroundmodel for instance) replicate to everyone present, so mistakenly having an event triggered for all players can produce confusing and nasty side-effects. (e.g. For addbackgroundmodel, the background model would be added multiple times and the server could waste an awful lot of your bandwidth telling everyone about it multiple times..)+Be very careful with events calling other events, particularly when using ''*eventallonline'' or ''Sleep''s. Many commands (''*addbackgroundmodel'' for instance) replicate to everyone present, so mistakenly having an event triggered for all players can produce confusing and nasty side-effects. (e.g. For ''*addbackgroundmodel''duplicate models would be added to the map multiple times and the server could waste an awful lot of your bandwidth telling everyone about again and again..)
 </note> </note>
  
scripting/functions_custom_events_overview.1332701218.txt.gz · Last modified: (external edit)