G 全般

HUD Minimize Script - The correct way! バージョン 1.0

HUD Minimize Script - The correct way!
詳細
設備
コンテンツ
レビュー

This script kit will let you add a minimize function to your custom HUD.

Minimize the correct way!

No alphaing prims, actually relocates and resizes them!

Included are 2 scripts (Minimize and Recorder)

The Recorder is used first to remember sizes and positions of each prim and the Minimize script is used in your HUD button to toggle minimize.

評価平均: 塗りつぶしの星 塗りつぶしの星 塗りつぶしの星 塗りつぶしの星 空の星
  • 5 スター:
  • 4 スター:
  • 3 スター:
  • 2 スター:
  • 1 スター:
Perfect!
塗りつぶしの星 塗りつぶしの星 塗りつぶしの星 塗りつぶしの星 塗りつぶしの星 掲載済み 2023/09/22 : Huanita Wunderlich

Exactly what i wanted..works great and easy, Thank you

このレビューはお役に立ちましたか?
Works but...
塗りつぶしの星 塗りつぶしの星 塗りつぶしの星 空の星 空の星 掲載済み 2023/09/07 : Jericho Incognito

What the description doesn't say is that your "minimize" button must be the root prim.

このレビューはお役に立ちましたか?
works with a small fix
塗りつぶしの星 塗りつぶしの星 塗りつぶしの星 塗りつぶしの星 空の星 掲載済み 2023/06/18 : asteriddle

works like a charm, but a check seems to be missing for ensuring the prim clicked is the root prim, leading to any of my HUD's buttons causing it to minimize

fix is as follows ;

at the top, under the first line, add

integer currentbutton;

and then just under touch_start(integer total_number), within the brackets, add

currentbutton=llDetectedLinkNumber(0);
if (currentbutton == 1) { ENCLOSE THE REST OF THE CODE HERE }

for those less scripting inclined, the llDetectedLinkNumber detects which linked the user clicks, and sets the value of currentbutton to that link number.
if the current button is 1 (the root), the minimize/show function runs! if it isn't the root, nothing happens, preventing the HUD from minimizing every time a button is pressed

このレビューはお役に立ちましたか?