


Login Issues
Forgot password?Activate Issues
Account activation email not received? Wrong account activation email used?Other Problems?
Contact Support - Help Center Get help on the UGX Discord. Join it now!![]() | Has released one or more maps to the UGX-Mods community which have been added to the UGX Map Manager. |
![]() | Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community. |
![]() BO3 Modtools Alpha | This user has access to the Black Ops 3 Modtools Alpha |
/*
#####################
by: M.A.K.E C E N T S
#####################
Place the following at the top of the gsc you want to use functions from this in it
#include maps\mc_mod\_mc_NoTriggers;
in your script use one of the following two functions:
player = trigger NTwaittill(<hint>,<icon>,<message>,<messagehint>,<offsetter>);//replaces trigger waittill("trigger", player);
<hint> - hint for trigger
<icon> - (optional) The icon/material to put under the hintstring
<message> - (optional) The material for the image that pops up
<messagehint> - (optional) The hint under the image
<offsetter> - (optional) The ammount to offset the z axis if necessary
player ShowMessage(<message>,<messagehint>,<onetime>,<timer>);//add to show a message to the player at any time
<message> - The material for the image that pops up
<messagehint> - The hint under the image
<onetime> - (optional) The hint under the image
<timer> - (optional) How long to keep the hint up
In hud.menu for your map find competitivemodescores and add this to that menuDef:
itemDef
{
name "hintstring"
rect 100 70 40 40 HORIZONTAL_ALIGN_CENTER VERTICAL_ALIGN_CENTER
textscale TEXTSIZE_SMALL
textstyle ITEM_TEXTSTYLE_SHADOWED
textfont UI_FONT_OBJECTIVE
textalign ITEM_ALIGN_CENTER
forecolor 1 1 1 1
exp text ("Press & hold " + KeyBinding("+activate") + dvarString("hintstring"))
visible when (dvarString("hintstring") != "The power must be activated first" && dvarString("hintstring") != "");
decoration
}
itemDef
{
name "gunicon"
rect 50 90 100 40 HORIZONTAL_ALIGN_CENTER VERTICAL_ALIGN_CENTER
forecolor 1 1 1 .8
ownerdraw CG_PLAYER_WEAPON_BACKGROUND
exp material dvarString("gunicon");
visible when (dvarString("gunicon") != "")
decoration
}
itemDef
{
name "mcmessage"
// rect (WEAPINFO_X +122) (WEAPINFO_Y +5) 24 24
rect 0 220 96 96 HORIZONTAL_ALIGN_RIGHT VERTICAL_ALIGN_TOP
forecolor 1 1 1 .8
ownerdraw CG_PLAYER_WEAPON_BACKGROUND
exp material dvarString(mcmessage);
visible when ( dvarstring(mcmessage) != "");
decoration
}
itemDef
{
name "mchintstring"
rect 0 335 96 96 HORIZONTAL_ALIGN_RIGHT VERTICAL_ALIGN_TOP
textscale .25
textstyle ITEM_TEXTSTYLE_SHADOWED
textfont UI_FONT_OBJECTIVE
textalign ITEM_ALIGN_RIGHT
forecolor 1 1 1 1
exp text dvarString("mchintstring")
visible when (dvarString("mchintstring") != "");
decoration
}
###############################################################################
*/
![]() | Has released one or more maps to the UGX-Mods community which have been added to the UGX Map Manager. |
![]() | Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community. |
![]() | Has released one or more maps to the UGX-Mods community which have been added to the UGX Map Manager. |
![]() | Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community. |
![]() BO3 Modtools Alpha | This user has access to the Black Ops 3 Modtools Alpha |
thanks this could be useful for me since i use tons of triggers+1
![]() | Has released one or more maps to the UGX-Mods community which have been added to the UGX Map Manager. |
![]() | Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community. |
![]() BO3 Modtools Alpha | This user has access to the Black Ops 3 Modtools Alpha |
![]() | Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |
![]() | Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community. |