Frictional Games Forum (read-only)
"Changes the crosshair that is used when focusing an entity." - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html)
+--- Forum: Custom Stories, TCs & Mods - Development (https://www.frictionalgames.com/forum/forum-38.html)
+---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html)
+---- Thread: "Changes the crosshair that is used when focusing an entity." (/thread-17067.html)



"Changes the crosshair that is used when focusing an entity." - Scupp - 07-18-2012

How can I use this script or am I understood it properly?
I have broken ladders on my custom map and I want that whenever I focus/watch on those ladders at close range there will be different crosshair and text on the screen. I think I can make the text but how can I change that crosshair? I don't know is this for that purpose or am I just using it wrong:


void SetEntityCustomFocusCrossHair(string& asName, string& asCrossHair);


RE: "Changes the crosshair that is used when focusing an entity." - Adny - 07-18-2012

asName = The name of the entity you want to have the custom cross hair

asCrossHair = The type of cross hair you want displayed, these are:

Default (uses default), Grab, Push, Ignite, Pick, LevelDoor, Ladder

Hope that helped.


RE: "Changes the crosshair that is used when focusing an entity." - Scupp - 07-18-2012

(07-18-2012, 10:59 AM)andyrockin123 Wrote: asName = The name of the entity you want to have the custom cross hair

asCrossHair = The type of cross hair you want displayed, these are:

Default (uses default), Grab, Push, Ignite, Pick, LevelDoor, Ladder

Hope that helped.
I just noticed that I just needed to get closer that I could see that crosshair lol. Well thanks anyway.