Results 1 to 2 of 2
  1. #1
    Neokil's Avatar
    Join Date
    May 2011
    Gender
    male
    Posts
    25
    Reputation
    10
    Thanks
    0

    Someone can tell me how to do a visibility check?

    Hey guys,
    is there someone who can tell me how I can performe a visibility check on MW2?

    Greetings

  2. #2
    Anarchy99's Avatar
    Join Date
    Dec 2008
    Gender
    male
    Posts
    14
    Reputation
    13
    Thanks
    1
    You can use the function called CG_trace but you must reverse it first.

    option two. Using the sentry visibility function will only work 180 Degrees
    Code:
    bool Math::CEnginemath::IsVisible( centity_t *  pEnt ) 
    { 
    	_asm mov esi, pEnt; 
    	_asm xor edi, edi; 
    	_asm mov eax, 0x005881E0; //alterIW
    	_asm call eax; 
    }