<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://bf2tech.uturista.pt/index.php?action=history&amp;feed=atom&amp;title=GameEvent</id>
	<title>GameEvent - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://bf2tech.uturista.pt/index.php?action=history&amp;feed=atom&amp;title=GameEvent"/>
	<link rel="alternate" type="text/html" href="https://bf2tech.uturista.pt/index.php?title=GameEvent&amp;action=history"/>
	<updated>2026-08-06T01:14:17Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.40.1</generator>
	<entry>
		<id>https://bf2tech.uturista.pt/index.php?title=GameEvent&amp;diff=33&amp;oldid=prev</id>
		<title>UTurista: Created page with &quot;Detailed information about the &lt;code&gt;bf2.gameLogic.sendGameEvent(playerObject, event, data)&lt;/code&gt; method:   {| border=&quot;2&quot; cellpadding=&quot;4&quot; cellspacing=&quot;0&quot; style=&quot;margin: 1em 1...&quot;</title>
		<link rel="alternate" type="text/html" href="https://bf2tech.uturista.pt/index.php?title=GameEvent&amp;diff=33&amp;oldid=prev"/>
		<updated>2017-12-27T22:01:53Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;Detailed information about the &amp;lt;code&amp;gt;bf2.gameLogic.sendGameEvent(playerObject, event, data)&amp;lt;/code&amp;gt; method:   {| border=&amp;quot;2&amp;quot; cellpadding=&amp;quot;4&amp;quot; cellspacing=&amp;quot;0&amp;quot; style=&amp;quot;margin: 1em 1...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Detailed information about the &amp;lt;code&amp;gt;bf2.gameLogic.sendGameEvent(playerObject, event, data)&amp;lt;/code&amp;gt; method:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;2&amp;quot; cellpadding=&amp;quot;4&amp;quot; cellspacing=&amp;quot;0&amp;quot; style=&amp;quot;margin: 1em 1em 1em 0; background: #f9f9f9; border: 1px #aaa solid; border-collapse: collapse; width: 100%;&amp;quot;.&lt;br /&gt;
|+&amp;#039;&amp;#039;&amp;#039;Game Event Table&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
|&amp;#039;&amp;#039;&amp;#039;Event #&amp;#039;&amp;#039;&amp;#039;||&amp;#039;&amp;#039;&amp;#039;Data&amp;#039;&amp;#039;&amp;#039;||&amp;lt;center&amp;gt;&amp;#039;&amp;#039;&amp;#039;Result&amp;#039;&amp;#039;&amp;#039;&amp;lt;/center&amp;gt;||&amp;lt;center&amp;gt;&amp;#039;&amp;#039;&amp;#039;Notes&amp;#039;&amp;#039;&amp;#039;&amp;lt;/center&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;center&amp;gt;1&amp;lt;/center&amp;gt;||&amp;lt;center&amp;gt;0&amp;lt;/center&amp;gt;||Sets GameStatus to zero.||Status zero, however, doesn&amp;#039;t exist. Appears to turn the current game mode off.&lt;br /&gt;
|-&lt;br /&gt;
| ||&amp;lt;center&amp;gt;1&amp;lt;/center&amp;gt;||Sets GameStatus to &amp;#039;&amp;#039;&amp;#039;Playing&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
|-&lt;br /&gt;
| ||&amp;lt;center&amp;gt;2&amp;lt;/center&amp;gt;||Sets GameStatus to &amp;#039;&amp;#039;&amp;#039;EndGame&amp;#039;&amp;#039;&amp;#039;.||This ends the current round.&lt;br /&gt;
|-&lt;br /&gt;
| ||&amp;lt;center&amp;gt;3&amp;lt;/center&amp;gt;||Sets GameStatus to &amp;#039;&amp;#039;&amp;#039;PreGame&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
|-&lt;br /&gt;
| ||&amp;lt;center&amp;gt;4&amp;lt;/center&amp;gt;||Sets GameStatus to &amp;#039;&amp;#039;&amp;#039;Paused&amp;#039;&amp;#039;&amp;#039;.||Causes many odd things to happen.&lt;br /&gt;
|-&lt;br /&gt;
| ||&amp;lt;center&amp;gt;5&amp;lt;/center&amp;gt;||Sets GameStatus to &amp;#039;&amp;#039;&amp;#039;RestartServer&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
|-&lt;br /&gt;
| ||&amp;lt;center&amp;gt;6&amp;lt;/center&amp;gt;||Sets GameStatus to &amp;#039;&amp;#039;&amp;#039;NotConnected&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;center&amp;gt;2&amp;lt;/center&amp;gt;||&amp;lt;center&amp;gt;All&amp;lt;/center&amp;gt;||None||Unknown function for the moment.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;center&amp;gt;3&amp;lt;/center&amp;gt;||&amp;lt;center&amp;gt;All&amp;lt;/center&amp;gt;||None||Unknown function for the moment.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;center&amp;gt;4&amp;lt;/center&amp;gt;||&amp;lt;center&amp;gt;All&amp;lt;/center&amp;gt;||None||Unknown function for the moment.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;center&amp;gt;5&amp;lt;/center&amp;gt;||&amp;lt;center&amp;gt;All&amp;lt;/center&amp;gt;||None||Unknown function for the moment.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;center&amp;gt;6&amp;lt;/center&amp;gt;||&amp;lt;center&amp;gt;All&amp;lt;/center&amp;gt;||None||Unknown function for the moment.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;center&amp;gt;7&amp;lt;/center&amp;gt;||&amp;lt;center&amp;gt;All&amp;lt;/center&amp;gt;||None||Unknown function for the moment.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;center&amp;gt;8&amp;lt;/center&amp;gt;||&amp;lt;center&amp;gt;All&amp;lt;/center&amp;gt;||None||Unknown function for the moment.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;center&amp;gt;9&amp;lt;/center&amp;gt;||&amp;lt;center&amp;gt;0&amp;lt;/center&amp;gt;||None||Appears to do nothing.&lt;br /&gt;
|-&lt;br /&gt;
| ||&amp;lt;center&amp;gt;1&amp;lt;/center&amp;gt;||&amp;quot;You got a targeting assist!&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| ||&amp;lt;center&amp;gt;2&amp;lt;/center&amp;gt;||&amp;quot;You got a kill damage assist!&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| ||&amp;lt;center&amp;gt;3&amp;lt;/center&amp;gt;||&amp;quot;You got a driver kill assist!&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;center&amp;gt;10&amp;lt;/center&amp;gt;||&amp;lt;center&amp;gt;0&amp;lt;/center&amp;gt;||&amp;quot;You got a healing point!&amp;quot;||&lt;br /&gt;
|-&lt;br /&gt;
| ||&amp;lt;center&amp;gt;1&amp;lt;/center&amp;gt;||&amp;quot;You got a repair point&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| ||&amp;lt;center&amp;gt;2&amp;lt;/center&amp;gt;||&amp;quot;You got an ammo giving point!&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| ||&amp;lt;center&amp;gt;3&amp;lt;/center&amp;gt;||&amp;quot;You got an driver ability assist!&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| ||&amp;lt;center&amp;gt;4&amp;lt;/center&amp;gt;||&amp;quot;You got a revive score!&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| ||&amp;lt;center&amp;gt;5&amp;lt;/center&amp;gt;||&amp;quot;You got points for destroying strategic object&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;center&amp;gt;11&amp;lt;/center&amp;gt;||&amp;lt;center&amp;gt;0&amp;lt;/center&amp;gt;||&amp;quot;Team damage! Don&amp;#039;t hurt your teammates&amp;quot;||&lt;br /&gt;
|-&lt;br /&gt;
| ||&amp;lt;center&amp;gt;1&amp;lt;/center&amp;gt;||&amp;quot;Team vehicle damage!&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;center&amp;gt;12&amp;lt;/center&amp;gt;||&amp;lt;center&amp;gt;0&amp;lt;/center&amp;gt;||&amp;quot;You have received points for Flag Capture!&amp;quot;||&lt;br /&gt;
|-&lt;br /&gt;
| ||&amp;lt;center&amp;gt;1&amp;lt;/center&amp;gt;||&amp;quot;Defended flag!&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| ||&amp;lt;center&amp;gt;2&amp;lt;/center&amp;gt;||&amp;quot;You got a capture assist point!&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| ||&amp;lt;center&amp;gt;3&amp;lt;/center&amp;gt;||&amp;quot;You got a neutralize point!&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| ||&amp;lt;center&amp;gt;4&amp;lt;/center&amp;gt;||&amp;quot;You got a neutralize assist point!&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| ||&amp;lt;center&amp;gt;5&amp;lt;/center&amp;gt;||&amp;quot;You have destroyed strategic objective!&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;center&amp;gt;13&amp;lt;/center&amp;gt;||&amp;lt;center&amp;gt;0&amp;lt;/center&amp;gt;||None||&lt;br /&gt;
|-&lt;br /&gt;
| ||&amp;lt;center&amp;gt;1&amp;lt;/center&amp;gt;||Blurs the players screen for a short period.||If player is in a jet, blur lasts much longer. Bug or intended?&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
NOTE: Although things like &amp;quot;You got a capture assist point!&amp;quot; give you points during normal gameplay, this is not the case when sending the same game event. Instead it only gives the player the message, but no points.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The above table was made possible through the efforts of [[User:=Mad=|=Mad=]]&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;2&amp;quot; align=left cellpadding=&amp;quot;4&amp;quot; cellspacing=&amp;quot;0&amp;quot; style=&amp;quot;margin: 1em 1em 1em 0; background: #f9f9f9; border: 1px #aaa solid; border-collapse: collapse;&amp;quot;.&lt;br /&gt;
|&amp;#039;&amp;#039;&amp;#039;Event #&amp;#039;&amp;#039;&amp;#039;||&amp;#039;&amp;#039;&amp;#039;&amp;lt;center&amp;gt;Possible Name&amp;lt;/center&amp;gt;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;center&amp;gt;1&amp;lt;/center&amp;gt;||&amp;lt;center&amp;gt;ECGameLogicGLGameStatus&amp;lt;/center&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;center&amp;gt;2&amp;lt;/center&amp;gt;||&amp;lt;center&amp;gt;ECGameLogicGLControlPointChangedTeam&amp;lt;/center&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;center&amp;gt;3&amp;lt;/center&amp;gt;||&amp;lt;center&amp;gt;ECGameLogicGLKilledBy&amp;lt;/center&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;center&amp;gt;4&amp;lt;/center&amp;gt;||&amp;lt;center&amp;gt;ECGameLogicGLLowOnTickets&amp;lt;/center&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;center&amp;gt;5&amp;lt;/center&amp;gt;||&amp;lt;center&amp;gt;ECGameLogicGLFailedToChangePosition&amp;lt;/center&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;center&amp;gt;6&amp;lt;/center&amp;gt;||&amp;lt;center&amp;gt;ECGameLogicGLReset&amp;lt;/center&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;center&amp;gt;7&amp;lt;/center&amp;gt;||&amp;lt;center&amp;gt;ECGameLogicGLStartApplyForCommander&amp;lt;/center&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;center&amp;gt;8&amp;lt;/center&amp;gt;||&amp;lt;center&amp;gt;ECGameLogicGLChangedTeam&amp;lt;/center&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;center&amp;gt;9&amp;lt;/center&amp;gt;||&amp;lt;center&amp;gt;ECGameLogicGLAssistKill&amp;lt;/center&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;center&amp;gt;10&amp;lt;/center&amp;gt;||&amp;lt;center&amp;gt;ECGameLogicGLReplenish&amp;lt;/center&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;center&amp;gt;11&amp;lt;/center&amp;gt;||&amp;lt;center&amp;gt;ECGameLogicGLTeamDamage&amp;lt;/center&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;center&amp;gt;12&amp;lt;/center&amp;gt;||&amp;lt;center&amp;gt;ECGameLogicGLConquest&amp;lt;/center&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;center&amp;gt;13&amp;lt;/center&amp;gt;||&amp;lt;center&amp;gt;ECGameLogicGLTinnitus&amp;lt;/center&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;center&amp;gt;14&amp;lt;/center&amp;gt;||&amp;lt;center&amp;gt;ECGameLogicGLRevive&amp;lt;/center&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;center&amp;gt;15&amp;lt;/center&amp;gt;||&amp;lt;center&amp;gt;ECGameLogicGLGameEventLocal&amp;lt;/center&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;center&amp;gt;16&amp;lt;/center&amp;gt;||&amp;lt;center&amp;gt;Not Used&amp;lt;/center&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;center&amp;gt;17&amp;lt;/center&amp;gt;||&amp;lt;center&amp;gt;ECGameLogicGLUAV&amp;lt;/center&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;center&amp;gt;18&amp;lt;/center&amp;gt;||&amp;lt;center&amp;gt;ECGameLogicGLScan&amp;lt;/center&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To the left is a table that connects event numbers up to their internal name in the Battlefield 2 game engine. Hopefully knowing the names of these events will help us figure out what data needs to be sent to them. --[[User:King of Camelot|King of Camelot]] 17:21, 7 Aug 2005 (MDT)&lt;/div&gt;</summary>
		<author><name>UTurista</name></author>
	</entry>
</feed>