hiding his body (1 Viewer)

ds14048

Content Creator
Joined
Nov 5, 2012
When using the Faceless Faceless Mod.fla template-v0.98.3 is the correct actionscript for hiding his original body parts ?

//right arm
main.him.armContainer.arm.upperArm.getChildAt(0).visible = false;
main.him.armContainer.arm.lowerArm.getChildAt(0).visible = false;
main.him.armContainer.arm.hand.getChildAt(0).visible = false;

Or this?
//right arm
g.him.armContainer.arm.upperArm.getChildAt(0).visible = false;
g.him.armContainer.arm.lowerArm.getChildAt(0).visible = false;
g.him.armContainer.arm.hand.getChildAt(0).visible = false;

Or are both of these incorrect?
 

sby

Content Creator
Coder
Joined
Sep 11, 2012
depends on what main points to. in my mods, i usually set main to the loader object. however the loader object also grabs references to him and her:
her = g.her;
him = g.him;

so yes, they are most likely the same. I would note that it looks like this is only hiding his right arm though
 

ds14048

Content Creator
Joined
Nov 5, 2012
Great, Thank you,
Yes I only used the right arm as my example rather than pasting the entire script.
I have Mod.fla template v0.97.2 that uses "main.him" and
Mod.fla template v0.98.3 that uses "g.him" I did not know if the first was out dated or if I had incorrect information.
 

Users who are viewing this thread

Top


Are you 18 or older?

This website requires you to be 18 years of age or older. Please verify your age to view the content, or click Exit to leave.