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
Storfigge Offline
Member

Posts: 101
Threads: 31
Joined: Sep 2012
Reputation: 0
#3
RE: Armour helmet

(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.

03-25-2013, 02:07 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)