Home › Forums › General discussions › To add text to an object and make the text to follow a hotspot and be always hor › Reply To: To add text to an object and make the text to follow a hotspot and be always hor
October 28, 2019 at 02:55
#18317
Participant
You want the Richtext to follow a hotspot? Make two overlapping Editable Hotspots, one for the x-axis and one for the y-axis, then set those two values as your x-y values in your Richtext command.
HOTSPOT2 0, 0, unID, text-x, 1 : unID = unID + 1
HOTSPOT2 1, 0, unID, text-x, 2 : unID = unID + 1
HOTSPOT2 -1, 0, unID, text-x, 3 : unID = unID + 1
HOTSPOT2 0, 0, unID, text-y, 1 : unID = unID + 1
HOTSPOT2 0, 1, unID, text-y, 2 : unID = unID + 1
HOTSPOT2 0, -1, unID, text-y, 3 : unID = unID + 1
RICHTEXT2 text-x, text-y, “AC_TEXTBLOCK_2″
Ling.
AC18-23 AUS 4006
Self-taught, bend it till it breaks.
Win7 | E5620 x 2 | 24GB | K2200