Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |
00001 00002 00003 00004 00005 00006 00007 00008 00009 00010 00011 00012 00013 00014 00015 00016 00017 00018 00019 00020 00021 00022 00023 00024 00025 00026 00027 00028 00029 00030 00031 00032 00033 00034 00035 00036 00037 00038 00039 00040 00041 00042 00043 00044 00045 00046 00047 00048 00049 00050 00051 00052 00053 00054 00055 00056 00057 00058 00059 00060 |
// =============================================================== // USARBot.VictRFIDTag // // Created by Mentar Mahmudi, International University Bremen Feb 05 2006 // =============================================================== class VictRFIDTag extends Actor placeable; var () int id; var () string name; var () string status; // Register to the game function Register() { local USARDeathMatch UsarGame; local int Index; UsarGame = USARDeathMatch(Level.Game); Index = UsarGame.VictRFIDTags.length; UsarGame.VictRFIDTags.Insert(Index, 1); UsarGame.VictRFIDTags[Index] = self; } // Unregister from the game function Unregister() { local USARDeathMatch UsarGame; local int i; UsarGame = USARDeathMatch(Level.Game); for (i = 0; i < UsarGame.VictRFIDTags.length; i++) { if (UsarGame.VictRFIDTags[i] == self) { UsarGame.VictRFIDTags.Remove(i, 1); break; } } } simulated function PostNetBeginPlay() { super.PostNetBeginPlay(); Register(); } simulated event Destroyed() { Unregister(); Super.Destroyed(); } defaultproperties { DrawType=DT_StaticMesh StaticMesh=StaticMesh'Editor.TexPropCube' DrawScale3D=(X=0.01,Y=0.01,Z=0.002) bStatic=False bStasis=False } |
Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |