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
How Can I Make A Ghost Enemies??
Kyle Offline
Posting Freak

Posts: 911
Threads: 36
Joined: Sep 2010
Reputation: 7
#4
RE: How Can I Make A Ghost Enemies??

I'll try. The key that is interacted with is "Key01" and you could change it to match the key name in the editor. The monster's name is "MonsterName" and you could change it to match the monster's name in the editor.

void OnStart()
{
     SetEntityPlayerInteractCallback("Key01", "Func01", true);
}
void Func01(string &in asEntity)
{
     SetEntityActive("MonsterName", true);
}

05-30-2011, 04:56 PM
Find


Messages In This Thread
How Can I Make A Ghost Enemies?? - by Jayvee17 - 05-30-2011, 03:14 PM
RE: How Can I Make A Ghost Enemies?? - by Kyle - 05-30-2011, 03:21 PM
RE: How Can I Make A Ghost Enemies?? - by Kyle - 05-30-2011, 04:56 PM
RE: How Can I Make A Ghost Enemies?? - by Nye - 05-30-2011, 08:11 PM
RE: How Can I Make A Ghost Enemies?? - by Kyle - 05-30-2011, 10:23 PM



Users browsing this thread: 5 Guest(s)