The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



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
Set wall passive
mr.bonent Offline
Junior Member

Posts: 47
Threads: 13
Joined: May 2011
Reputation: 0
#1
Set wall passive

Can anyone tell me why this does not work? (the SetPassive, "wand_2")

Quote:void OnStart()
{
AddEntityCollideCallback("Player", "ScriptArea_1", "BuchErscheinung", true, 1);
AddEntityCollideCallback("Player", "ScriptArea_2", "WandErscheinung", true, 1);
AddEntityCollideCallback("Player", "DoorClosedArea_1", "DoorClosedAndLook", true, 1);
AddUseItemCallback("", "DoorKey_1", "mansion_4", "UsedKeyOnDoor", true);

}
void BuchErscheinung(string &in asParent, string &in asChild, int alState)
{
SetEntityActive("buch", true);
AddDebugMessage("buch", false);
}
void WandErscheinung(string &in asParent, string &in asChild, int alState)
{
SetEntityActive("wand", true);
SetEntityPassive("wand_2", true);
AddDebugMessage("wand", false);
AddDebugMessage("wand_2", false);
08-01-2011, 11:52 PM
Find


Messages In This Thread
Set wall passive - by mr.bonent - 08-01-2011, 11:52 PM
RE: Set wall passive - by Your Computer - 08-02-2011, 12:39 AM
RE: Set wall passive - by Rapture - 08-02-2011, 12:48 AM
RE: Set wall passive - by mr.bonent - 08-02-2011, 01:07 AM
RE: Set wall passive - by Roenlond - 08-02-2011, 11:31 AM
RE: Set wall passive - by Janni1234 - 08-02-2011, 12:48 PM
RE: Set wall passive - by mr.bonent - 08-02-2011, 07:03 PM



Users browsing this thread: 1 Guest(s)