ShapeView

Also, I'm having trouble creating these feargui things...

I can predefine as many as I want by adding them to a gui file, but how do I create gui with a script?
 
OMFG?! Dude...

This is gonna be awesome.

Wait, how do I pick an armor and make it dance?

been a while since i played with skinview but here are some related commands

FGSkin::cycleArmor(IDCTG_PLAYER_TS);

FGSkin::set(IDCTG_PLAYER_TS, 0, $PCFG::Gender[$PCFG::CurrentPlayer]);

and iirc it'll dance if
Code:
$FGSkin::DiscoBoogie
is set and does one dance everytime u cycleArmor so to get it to dance all the time u gotta keep cycling

 
Wow, I've learned a lot about gui over the past few days... Just a few more things to learn before I can complete this script.

1) How do I dynamically create gui elements? When I use newObject(), nothing happens, and even if it did, I can't seem to get an object ID out of the gui elements, so I can't use the dot operator to edit the properties.

2) How do I make the shapeview gui elements reposition, instead of rotate, when I click and drag them around? Also, how do I group multiple elements together when repositioning, such as the item count labels and the corresponding shapeviews?
 
Back
Top