home *** CD-ROM | disk | FTP | other *** search
Unknown | 2004-05-10 | 1.1 KB |
view JSON data
|
view as text
|
open on a Mac
|
open on a PC
This file was not able to be converted.
This format is not currently supported by dexvert.
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| file
| data
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 00 00 00 00 00 00 00 | 6a 11 63 6c 61 73 73 20 |........|j.class |
|00000010| 55 73 65 4f 62 6a 65 63 | 74 69 76 65 20 65 78 74 |UseObjec|tive ext|
|00000020| 65 6e 64 73 20 50 72 6f | 78 69 6d 69 74 79 4f 62 |ends Pro|ximityOb|
|00000030| 6a 65 63 74 69 76 65 3b | 0d 0a 0d 0a 20 2f 2f 20 |jective;|.... // |
|00000040| 63 61 6c 6c 65 64 20 69 | 66 20 74 68 69 73 20 41 |called i|f this A|
|00000050| 63 74 6f 72 20 77 61 73 | 20 74 6f 75 63 68 69 6e |ctor was| touchin|
|00000060| 67 20 61 20 50 61 77 6e | 20 77 68 6f 20 70 72 65 |g a Pawn| who pre|
|00000070| 73 73 65 64 20 55 73 65 | 0d 0a 65 76 65 6e 74 20 |ssed Use|..event |
|00000080| 55 73 65 64 42 79 28 20 | 50 61 77 6e 20 55 73 65 |UsedBy( |Pawn Use|
|00000090| 72 20 29 0d 0a 7b 0d 0a | 09 69 66 20 28 20 49 73 |r )..{..|.if ( Is|
|000000a0| 52 65 6c 65 76 61 6e 74 | 28 55 73 65 72 2c 20 74 |Relevant|(User, t|
|000000b0| 72 75 65 29 20 29 0d 0a | 09 7b 0d 0a 09 09 44 69 |rue) )..|.{....Di|
|000000c0| 73 61 62 6c 65 4f 62 6a | 65 63 74 69 76 65 28 20 |sableObj|ective( |
|000000d0| 55 73 65 72 20 29 3b 0d | 0a 09 7d 0d 0a 7d 0d 0a |User );.|..}..}..|
|000000e0| 0d 0a 66 75 6e 63 74 69 | 6f 6e 20 54 6f 75 63 68 |..functi|on Touch|
|000000f0| 28 41 63 74 6f 72 20 4f | 74 68 65 72 29 0d 0a 7b |(Actor O|ther)..{|
|00000100| 0d 0a 09 6c 6f 63 61 6c | 20 50 61 77 6e 09 50 3b |...local| Pawn.P;|
|00000110| 0d 0a 0d 0a 09 50 20 3d | 20 50 61 77 6e 28 4f 74 |.....P =| Pawn(Ot|
|00000120| 68 65 72 29 3b 0d 0a 09 | 69 66 20 28 20 50 20 21 |her);...|if ( P !|
|00000130| 3d 20 4e 6f 6e 65 20 26 | 26 20 28 42 6f 74 28 50 |= None &|& (Bot(P|
|00000140| 2e 43 6f 6e 74 72 6f 6c | 6c 65 72 29 20 21 3d 20 |.Control|ler) != |
|00000150| 4e 6f 6e 65 29 20 29 0d | 0a 09 7b 0d 0a 09 09 55 |None) ).|..{....U|
|00000160| 73 65 64 42 79 28 20 50 | 20 29 3b 20 2f 2f 20 46 |sedBy( P| ); // F|
|00000170| 6f 72 63 65 20 62 6f 74 | 73 20 74 6f 20 55 73 65 |orce bot|s to Use|
|00000180| 20 6f 6e 20 54 6f 75 63 | 68 28 29 0d 0a 09 7d 0d | on Touc|h()...}.|
|00000190| 0a 7d 0d 0a 0d 0a 2f 2a | 20 54 65 6c 6c 42 6f 74 |.}..../*| TellBot|
|000001a0| 48 6f 77 54 6f 44 69 73 | 61 62 6c 65 28 29 0d 0a |HowToDis|able()..|
|000001b0| 74 65 6c 6c 20 62 6f 74 | 20 77 68 61 74 20 74 6f |tell bot| what to|
|000001c0| 20 64 6f 20 74 6f 20 64 | 69 73 61 62 6c 65 20 6d | do to d|isable m|
|000001d0| 65 2e 0d 0a 72 65 74 75 | 72 6e 20 74 72 75 65 20 |e...retu|rn true |
|000001e0| 69 66 20 76 61 6c 69 64 | 2f 75 73 65 61 62 6c 65 |if valid|/useable|
|000001f0| 20 69 6e 73 74 72 75 63 | 74 69 6f 6e 73 20 77 65 | instruc|tions we|
|00000200| 72 65 20 67 69 76 65 6e | 0d 0a 2a 2f 0d 0a 66 75 |re given|..*/..fu|
|00000210| 6e 63 74 69 6f 6e 20 62 | 6f 6f 6c 20 54 65 6c 6c |nction b|ool Tell|
|00000220| 42 6f 74 48 6f 77 54 6f | 44 69 73 61 62 6c 65 28 |BotHowTo|Disable(|
|00000230| 42 6f 74 20 42 29 0d 0a | 7b 0d 0a 09 69 66 20 28 |Bot B)..|{...if (|
|00000240| 20 42 2e 50 61 77 6e 20 | 3d 3d 20 4e 6f 6e 65 20 | B.Pawn |== None |
|00000250| 29 0d 0a 09 09 72 65 74 | 75 72 6e 20 66 61 6c 73 |)....ret|urn fals|
|00000260| 65 3b 0d 0a 0d 0a 09 69 | 66 20 28 20 21 49 73 52 |e;.....i|f ( !IsR|
|00000270| 65 6c 65 76 61 6e 74 28 | 42 2e 50 61 77 6e 2c 20 |elevant(|B.Pawn, |
|00000280| 74 72 75 65 29 20 29 0d | 0a 09 7b 0d 0a 09 09 69 |true) ).|..{....i|
|00000290| 66 20 28 20 28 56 65 68 | 69 63 6c 65 28 42 2e 50 |f ( (Veh|icle(B.P|
|000002a0| 61 77 6e 29 20 21 3d 20 | 4e 6f 6e 65 29 20 26 26 |awn) != |None) &&|
|000002b0| 20 21 42 2e 53 71 75 61 | 64 2e 4e 65 76 65 72 42 | !B.Squa|d.NeverB|
|000002c0| 61 69 6c 28 42 2e 50 61 | 77 6e 29 0d 0a 09 09 09 |ail(B.Pa|wn).....|
|000002d0| 26 26 20 28 56 65 68 69 | 63 6c 65 28 42 2e 50 61 |&& (Vehi|cle(B.Pa|
|000002e0| 77 6e 29 2e 44 72 69 76 | 65 72 20 21 3d 20 4e 6f |wn).Driv|er != No|
|000002f0| 6e 65 29 20 26 26 20 49 | 73 52 65 6c 65 76 61 6e |ne) && I|sRelevan|
|00000300| 74 28 56 65 68 69 63 6c | 65 28 42 2e 50 61 77 6e |t(Vehicl|e(B.Pawn|
|00000310| 29 2e 44 72 69 76 65 72 | 2c 20 74 72 75 65 29 20 |).Driver|, true) |
|00000320| 29 0d 0a 09 09 7b 0d 0a | 09 09 09 69 66 20 28 20 |)....{..|...if ( |
|00000330| 56 53 69 7a 65 28 42 2e | 50 61 77 6e 2e 4c 6f 63 |VSize(B.|Pawn.Loc|
|00000340| 61 74 69 6f 6e 20 2d 20 | 4c 6f 63 61 74 69 6f 6e |ation - |Location|
|00000350| 29 20 3c 20 31 32 30 30 | 20 29 20 0d 0a 09 09 09 |) < 1200| ) .....|
|00000360| 7b 0d 0a 09 09 09 09 56 | 65 68 69 63 6c 65 28 42 |{......V|ehicle(B|
|00000370| 2e 50 61 77 6e 29 2e 54 | 65 61 6d 55 73 65 54 69 |.Pawn).T|eamUseTi|
|00000380| 6d 65 20 3d 20 4c 65 76 | 65 6c 2e 54 69 6d 65 53 |me = Lev|el.TimeS|
|00000390| 65 63 6f 6e 64 73 20 2b | 20 36 3b 0d 0a 09 09 09 |econds +| 6;.....|
|000003a0| 09 56 65 68 69 63 6c 65 | 28 42 2e 50 61 77 6e 29 |.Vehicle|(B.Pawn)|
|000003b0| 2e 4b 44 72 69 76 65 72 | 4c 65 61 76 65 28 66 61 |.KDriver|Leave(fa|
|000003c0| 6c 73 65 29 3b 0d 0a 09 | 09 09 7d 0d 0a 09 09 7d |lse);...|..}....}|
|000003d0| 09 0d 0a 09 09 65 6c 73 | 65 0d 0a 09 09 09 72 65 |.....els|e.....re|
|000003e0| 74 75 72 6e 20 66 61 6c | 73 65 3b 0d 0a 09 7d 0d |turn fal|se;...}.|
|000003f0| 0a 09 0d 0a 09 69 66 20 | 28 20 42 2e 50 61 77 6e |.....if |( B.Pawn|
|00000400| 2e 52 65 61 63 68 65 64 | 44 65 73 74 69 6e 61 74 |.Reached|Destinat|
|00000410| 69 6f 6e 28 73 65 6c 66 | 29 20 29 0d 0a 09 7b 0d |ion(self|) )...{.|
|00000420| 0a 09 09 55 73 65 64 42 | 79 28 42 2e 50 61 77 6e |...UsedB|y(B.Pawn|
|00000430| 29 3b 0d 0a 09 09 72 65 | 74 75 72 6e 20 66 61 6c |);....re|turn fal|
|00000440| 73 65 3b 0d 0a 09 7d 0d | 0a 09 72 65 74 75 72 6e |se;...}.|..return|
|00000450| 20 53 75 70 65 72 2e 54 | 65 6c 6c 42 6f 74 48 6f | Super.T|ellBotHo|
|00000460| 77 54 6f 44 69 73 61 62 | 6c 65 28 42 29 3b 0d 0a |wToDisab|le(B);..|
|00000470| 7d 0d 0a 00 | |}... | |
+--------+-------------------------+-------------------------+--------+--------+