Hi,
What Mesh do you want to select? (An ingame object-with mesh you want to select)
The best thing is the Tick Function in the player, a Detect state like this:
Function Tick(float DT)
{
local vector View;
local actor a;
View=GetAxes() // I not exactly remember ithink this is the commnad you must use
a=QuickTrace(View);
if(DetectMesh(a)){
ModifyMeshObject(A);}
super.Tick(DT);
}
Function bool DetectMesh(actor a)
{
if the mes you want you return true
if not return false
}
Function ModifyMeshObject(actor a)
{
Here you get you special functions to run if you got a Mesh Object that has valid mesh
Here you don't need to run HUD or toher functions there can be only a Highlight on the object!
}
After you get an Angle of view the you can quick trace. So you can get an actor.
The you create another Fuznction to Detect the model.
If it's ok then Go to the HUD Drawing Function and so on.
If you have questions to me:
DrakkLord@vipmail.hu