UGX-Mods

Call of Duty 5: World at War => Help Desk => Scripting => Topic started by: AdvancedDecay on March 25, 2016, 07:07:28 pm

Title: Hiding the trigger hint icon (Hand Icon)
Post by: AdvancedDecay on March 25, 2016, 07:07:28 pm
Hello, just wondering.... how do i hide the hand icon hint icon thing when i go near a trigger ??
Title: Re: Hiding the trigger hint icon (Hand Icon)
Post by: buttkicker845 on March 25, 2016, 07:40:43 pm
this is how you remove the hand icon
Code Snippet
Plaintext
trig SetCursorHint( "HINT_NOICON" );
this is how to set the text
Code Snippet
Plaintext
trig setHintString("message");
Title: Re: Hiding the trigger hint icon (Hand Icon)
Post by: AdvancedDecay on March 25, 2016, 07:43:32 pm
hi thanks for replying do i add this to the trigger i want to hide the icon
Title: Re: Hiding the trigger hint icon (Hand Icon)
Post by: DidUknowiPwn on March 27, 2016, 12:22:29 am
hi thanks for replying do i add this to the trigger i want to hide the icon
trig = GetEnt("mahtrigger", "targetname");
or
use GetEntArray (if you have multiples of that same trigger name, "mahtrigger") and go through a loop for each element.
Title: Re: Hiding the trigger hint icon (Hand Icon)
Post by: alaurenc9 on March 28, 2016, 10:03:50 pm
Code Snippet
Plaintext
trigger SetCursorHint( "HINT_NOICON" );
Title: Re: Hiding the trigger hint icon (Hand Icon)
Post by: JR-Imagine on March 28, 2016, 10:54:16 pm
Code Snippet
Plaintext
trigger SetCursorHint( "HINT_NOICON" );
(https://i.imgflip.com/11krvk.jpg)