Author Topic: Hiding Hands  (Read 1594 times)

Again, another issue. When I made the custom bows they all show the players hands. How do I hide them?
« Last Edit: October 11, 2013, 01:18:21 PM by xXDeadwolf456Xx »

Just do this.

Code: [Select]
function CreeRPGShopBrickData::onAdd(%this,%brick)
{
     %brick.scheduleNoQuota(0,"createTrigger","CreeRPGShop");
}

You shouldn't need that package AFAIK. Try this instead:
Code: [Select]
function CreeRPGShopBrickData::onRemove(%this,%brick)
{
     if(isObject(%brick.trigger))
          %brick.trigger.delete();
}

Also, please rename the fxDtsBrick::createTrigger method so that it doesn't interfere with other things.

Just do this.

Code: [Select]
function CreeRPGShopBrickData::onAdd(%this,%brick)
{
     %brick.scheduleNoQuota(0,"createTrigger","CreeRPGShop");
}

What if something else packages fxDTSBrickData::onAdd? Since you're not calling the parent, it would break.

Got it to work. Thanks guys.


Haven't fixed the hands yet though.

Don't edit out the whole post, just add another question onto it. For people who are having the same problem and use search.

Does the bow model have hands on it? Give us the files.

Sorry, I have already fixed it. Asked a friend for help.