[HERO ICON] How i can make this higher or lower

variables
{
	global:
		37: ButtonControllerSupport
		38: Layer1_Button
}

actions
{
	Create In-World Text(Filtered Array(All Players(Team 1), Global.ButtonControllerSupport[0] == 1), Hero Icon String(Hero(Ana)),
		Global.Layer1_Button[0], 1.200, Do Not Clip, Visible To Position and String, Color(White), Default Visibility);
}

Like 1.5 more UP as the orginal source

Up? As in higher on the screen?

Global.Layer1_Button[0] is the text position, so you can modify that variable by adding Vector(0, 1.5, 0) or adding it in that action like this:

Add(Global.Layer1_Button[0] + Vector(0, 1.5, 0))

The middle value is Y coordinate, how high or low is something, so this is increasing the position by 1.5.

EDIT: Ok Got it ! Thanks! :smiley: what a pain

EDIT: When im Do this for the next heroes , like baptiste, the icon shows up on the ground vector 0,0,0… but for ana worked it perfectly , did you know why ?

variables
{
	global:
		37: ButtonControllerSupport
		38: Layer1_Button
}

actions
{
	Create In-World Text(Filtered Array(All Players(Team 1), Global.ButtonControllerSupport[0] == 1), Hero Icon String(Hero(Ana)), (
		Global.Layer1_Button + Vector(0, 0, 0))[0], 1, Do Not Clip, Visible To Position and String, Color(White), Default Visibility);
}

Fix this, the index needs to be before the addition of a vector

Now i got it :slight_smile:

variables
{
	global:
		37: ButtonControllerSupport
		38: Layer1_Button
}

actions
{
	Create In-World Text(Filtered Array(All Players(All Teams), Global.ButtonControllerSupport[0] == 1), Hero Icon String(Hero(Ana)),
		Global.Layer1_Button[0] + Vector(0, -0.250, 0), 1, Do Not Clip, Visible To Position and String, Color(White),
		Default Visibility);
}