Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Armour helmet
PutraenusAlivius Offline
Posting Freak

Posts: 4,713
Threads: 75
Joined: Dec 2012
Reputation: 119
#4
RE: Armour helmet

(03-25-2013, 02:07 PM)Storfigge Wrote:
(03-25-2013, 01:55 PM)JustAnotherPlayer Wrote:
void OnStart()
{
    SetEntityCallbackFunc("KEYNAME", "HelmetDissapear");
}

void HelmetDissapear(string &in asEntity, string &in type)
{
        SetEntityActive("HELMETNAME", false);
}
Change KEYNAME to whatever your key name is and HELMETNAME to whatever your helmet's name on the armor.
NOTE: THE HELMET AND THE ARMOR HAS TO BE A SEPERATE ENTITY!

But the helmet and armour are the same entity. There is no complete armour without a helmet in the editor.
Yeah but, there are parts for it. There's the breast plate, the glove, boot and the head. Just arrange them. Check the Static Physics box at all parts except the head. This keeps it from falling.

Hey, dude. So i made an armor out of the pieces and....
[Image: z4i6e.jpg]

NOT BAD.

"Veni, vidi, vici."
"I came, I saw, I conquered."
(This post was last modified: 03-25-2013, 02:40 PM by PutraenusAlivius.)
03-25-2013, 02:10 PM
Find


Messages In This Thread
Armour helmet - by Storfigge - 03-25-2013, 01:40 PM
RE: Armour helmet - by PutraenusAlivius - 03-25-2013, 01:55 PM
RE: Armour helmet - by Storfigge - 03-25-2013, 02:07 PM
RE: Armour helmet - by PutraenusAlivius - 03-25-2013, 02:10 PM



Users browsing this thread: 1 Guest(s)