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
How can I disable floors (planes)?
EnemyAC130 Offline
Junior Member

Posts: 4
Threads: 2
Joined: Jul 2013
Reputation: 0
#1
How can I disable floors (planes)?

How can I disable floors (planes)?

I want to make it so that you go in to the Area an than the floor will despawn. (The Plane).

Does anyone know of a script for this?

My Script: (Doesn't Work)

{
AddEntityCollideCallback ("Player", "bodenwegarea", "BodenDespawnt", true, 1);
}

void BodenDespawnt (string &in asParent, string &in asChild, int alState)
{
SetEntityCollide ("boden", false); (<- "boden" is the floor)
GiveSanityDamage (5.0f, true);
}

Please help. thank.

[Image: unbenanntew3iz7p6v5.png]
07-31-2013, 07:06 PM
Find


Messages In This Thread
How can I disable floors (planes)? - by EnemyAC130 - 07-31-2013, 07:06 PM



Users browsing this thread: 1 Guest(s)