Getting the object a player is pointing at

Discussion in 'Scripting' started by mic23, Sep 8, 2005.

  1. mic23 Private

    Contributions:
    0
    I want to get the object a player is pointing at. Any ideas?
  2. Baron_Greenback Gunnery Sergeant

    Contributions:
    136
    Specialties:
    Mapper, Modeler, Scripting
    Processing:
    Graphics:
    If you could be a bit more specific? I'm sure someone could help.
  3. mic23 Private

    Contributions:
    0
    in a python script, I want to get a reference to the object a player is pointing at.
    let's say I want to know, if it's a static object, another player and so on.
  4. Airborne Private

    Contributions:
    58
    PREMIUM
    I Donated
    Out of curiosity for what purpose?
  5. 2nd~0v3r|r!de Private

    Contributions:
    54
    Only thing i could think of was a server side aimbot, or for warnings when people are aiming at you. Maybe hes got a more intresting reason.

Share This Page