Brues
cf5e9c8ee7
feat(target): add SetUnitCursorTexture and the soft-interact icon
...
SetUnitCursorTexture(texture, unit) sets a texture to the cursor image
the mouse shows over the unit, the Unable form when out of reach. It
takes the engine's own image: the cursor name table, or a game object's
record-named cursor through FormatGameObjectCursorFile.
The softinteract object now shows that image over it
(SoftTargetIconInteract, default 1; SoftTargetNameplateSize, default 19,
is its size). A unit's icon sits where 1.12 seats a nameplate, from
GetNamePlateScreenPos; an object's uses GetNamePosition's no-attachment
rule (1.25 x scale x box height) with the same 2/3-yard lift. The icon
is a texture on the world frame, anchored to its BOTTOMLEFT the way
SeatNamePlate anchors a plate, and hides off screen.
2026-10-20 19:09:19 -05:00
..
2026-10-19 01:43:47 -05:00
2026-10-18 03:16:06 -05:00
2026-10-20 15:16:42 -05:00
2026-09-12 23:20:46 -05:00
2026-08-24 10:11:10 -05:00
2026-10-20 16:25:19 -05:00
2026-10-20 07:14:03 -05:00
2026-10-20 07:43:04 -05:00
2026-10-20 19:09:13 -05:00
2026-10-20 05:34:23 -05:00
2026-10-19 00:52:28 -05:00
2026-06-29 16:38:16 -05:00
2026-10-19 10:11:09 -05:00
2026-10-19 10:11:09 -05:00
2026-09-14 13:12:25 -05:00
2026-10-19 10:11:09 -05:00
2026-07-26 01:57:56 -05:00
2026-10-20 17:02:49 -05:00
2026-09-06 09:53:58 -05:00
2026-10-19 00:52:28 -05:00
2026-10-18 00:24:00 -05:00
2026-10-18 04:47:53 -05:00
2026-10-19 12:11:21 -05:00
2026-10-17 19:14:17 -05:00
2026-10-20 19:09:19 -05:00
2026-10-17 18:26:46 -05:00
2026-08-08 02:09:08 -05:00
2026-09-14 21:37:43 -05:00
2026-10-20 15:16:42 -05:00
2026-08-06 14:02:19 -05:00
2026-10-18 00:24:00 -05:00
2026-09-16 20:28:25 -05:00
2026-06-29 16:38:16 -05:00
2026-09-04 21:32:14 -05:00
2026-10-19 22:12:29 -05:00
2026-10-20 14:31:06 -05:00
2026-10-18 03:59:50 -05:00
2026-09-11 14:12:40 -05:00
2026-09-12 23:20:46 -05:00
2026-07-04 14:27:06 -05:00
2026-08-19 11:01:19 -05:00
2026-09-12 23:47:08 -05:00
2026-10-20 07:22:45 -05:00
2026-06-29 16:38:16 -05:00
2026-10-19 00:52:28 -05:00
2026-10-20 16:25:19 -05:00
2026-08-30 16:57:04 -05:00
2026-09-15 10:18:36 -05:00
2026-09-17 23:39:43 -05:00
2026-10-19 20:44:31 -05:00
2026-10-17 19:49:39 -05:00
2026-06-29 16:38:16 -05:00
2026-10-19 11:45:14 -05:00
2026-08-08 15:35:07 -05:00
2026-10-19 12:11:21 -05:00
2026-10-18 02:54:02 -05:00
2026-08-03 00:37:36 -05:00
2026-08-24 08:43:03 -05:00
2026-10-20 16:12:40 -05:00
2026-10-17 13:41:25 -05:00
2026-10-20 07:14:03 -05:00
2026-10-19 12:23:15 -05:00
2026-10-17 15:52:58 -05:00
2026-06-29 16:38:16 -05:00
2026-09-05 14:38:17 -05:00
2026-10-20 14:11:53 -05:00
2026-10-20 06:45:02 -05:00
2026-10-20 17:02:42 -05:00
2026-10-20 15:06:57 -05:00
2026-09-17 23:39:43 -05:00
2026-09-09 00:14:23 -05:00
2026-10-20 19:09:19 -05:00
2026-08-19 11:01:19 -05:00
2026-10-19 22:39:21 -05:00
2026-10-20 15:29:02 -05:00
2026-09-06 10:43:00 -05:00
2026-09-11 12:37:38 -05:00
2026-10-19 02:07:42 -05:00
2026-10-17 13:53:22 -05:00
2026-10-17 15:30:20 -05:00
2026-09-16 17:50:13 -05:00
2026-10-18 05:17:22 -05:00
2026-10-20 19:09:19 -05:00
2026-08-24 10:11:10 -05:00
2026-10-20 07:43:04 -05:00
2026-08-19 17:46:59 -05:00
2026-10-19 15:42:07 -05:00
2026-10-19 15:42:07 -05:00
2026-09-05 13:15:04 -05:00
2026-10-19 22:39:21 -05:00
2026-10-19 22:39:21 -05:00
2026-10-18 04:34:15 -05:00
2026-10-18 04:34:15 -05:00
2026-10-20 19:09:19 -05:00