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
Making a breakable wall
Soverain Offline
Junior Member

Posts: 18
Threads: 5
Joined: Jul 2012
Reputation: 1
#1
Making a breakable wall

Okay, so I am fairly new to this scripting and level editing stuff but I want to learn and make complex levels. If I understand correctly I need this line of script void SetPropHealth(string& asName, float afHealth); in order to have the wall to be broken. The wall I want is the "mansionbase_secret_passage_1" how would I go about making this wall get broken when an object is thrown at it?


Would it be SetPropHealth( Thenameofwall, (not sure what float means, is it the one with integers or decimals) and a number for health?
(This post was last modified: 07-29-2012, 12:38 AM by Soverain.)
07-28-2012, 06:48 AM
Find


Messages In This Thread
Making a breakable wall - by Soverain - 07-28-2012, 06:48 AM
RE: Making a breakable wall - by Your Computer - 07-28-2012, 07:01 AM
RE: Making a breakable wall - by Adny - 07-28-2012, 07:02 AM
RE: Making a breakable wall - by Soverain - 07-28-2012, 07:26 AM
RE: Making a breakable wall - by Adny - 07-28-2012, 07:29 AM
RE: Making a breakable wall - by Soverain - 07-28-2012, 07:35 AM



Users browsing this thread: 1 Guest(s)