Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 1 Vote(s) - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Anyone Knows How to Make A Breakable Wall 'Hammer'?
VeNoMzTeamHysterical Offline
Member

Posts: 240
Threads: 36
Joined: Dec 2012
Reputation: 3
#1
Photo  Anyone Knows How to Make A Breakable Wall 'Hammer'?

Yo sup i am current working in the Crypt Smile

And i wanna make a part to get 1 ingredient out of 4.... for an acid to open a lock i already scripted that...

But now i try to make a Breakable Wall..... to break it with a Hammer.

So i give you some screenshots how it looks for now but anyone knows the script to break a wall with an hammer?

Already thanks for helping and you're a boss Smile


Attached Files
.jpg   Breakable Wall2.jpg (Size: 163.64 KB / Downloads: 92)
.jpg   Breakable Wall.jpg (Size: 211.23 KB / Downloads: 102)

http://www.frictionalgames.com/forum/thread-21719.html
Evil Awaking Work In Progress!
Hours Spend 472.
(This post was last modified: 02-17-2013, 04:55 PM by VeNoMzTeamHysterical.)
02-17-2013, 04:25 PM
Website Find
NaxEla Offline
Senior Member

Posts: 415
Threads: 5
Joined: Dec 2012
Reputation: 28
#2
RE: Anyone Knows How to Make A Breakable Wall 'Hammer'?

PHP Code: (Select All)
void OnStart()
{
    
AddUseItemCallback("""HAMMER_NAME""WALL_NAME""BreakWall"true);
}

void BreakWall(string &in asItemstring &in asEntity)
{
    
SetPropHealth("WALL_NAME"0);


In Ruins [WIP]
(This post was last modified: 02-17-2013, 06:25 PM by NaxEla.)
02-17-2013, 06:24 PM
Find
VeNoMzTeamHysterical Offline
Member

Posts: 240
Threads: 36
Joined: Dec 2012
Reputation: 3
#3
RE: Anyone Knows How to Make A Breakable Wall 'Hammer'?

(02-17-2013, 06:24 PM)NaxEla Wrote:
PHP Code: (Select All)
void OnStart()
{
    
AddUseItemCallback("""HAMMER_NAME""WALL_NAME""BreakWall"true);
}

void BreakWall(string &in asItemstring &in asEntity)
{
    
SetPropHealth("WALL_NAME"0);


Thanks Smile

http://www.frictionalgames.com/forum/thread-21719.html
Evil Awaking Work In Progress!
Hours Spend 472.
02-17-2013, 07:16 PM
Website Find




Users browsing this thread: 1 Guest(s)