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
Restoring broken item
Daemian Offline
Posting Freak

Posts: 1,129
Threads: 42
Joined: Dec 2012
Reputation: 49
#7
RE: Restoring broken item

OnStart {
SetEntityCallbackFunc( "ent123", "ReplaceMeOnBreak" ); }

void ReplaceMeOnBreak ( string &in e, string &in t )
{ if t == "Break", CreateEntity e at area; SetEntityCallbackFunc( e, "ReplaceMeOnBreak" ); }


Something like that.

08-05-2013, 05:57 AM
Find


Messages In This Thread
Restoring broken item - by Damascus - 08-04-2013, 04:05 AM
RE: Restoring broken item - by 7heDubz - 08-04-2013, 05:13 AM
RE: Restoring broken item - by Daemian - 08-04-2013, 05:20 AM
RE: Restoring broken item - by Damascus - 08-04-2013, 05:48 AM
RE: Restoring broken item - by Your Computer - 08-04-2013, 09:48 AM
RE: Restoring broken item - by Statyk - 08-05-2013, 03:19 AM
RE: Restoring broken item - by Damascus - 08-05-2013, 06:02 AM
RE: Restoring broken item - by Daemian - 08-05-2013, 05:57 AM
RE: Restoring broken item - by Adrianis - 08-05-2013, 12:25 PM
RE: Restoring broken item - by Damascus - 08-05-2013, 10:43 PM
RE: Restoring broken item - by Adrianis - 08-06-2013, 10:53 AM
RE: Restoring broken item - by Damascus - 08-07-2013, 01:40 AM
RE: Restoring broken item - by Damascus - 08-07-2013, 04:30 AM
RE: Restoring broken item - by Adrianis - 08-07-2013, 09:40 AM
RE: Restoring broken item - by Damascus - 08-07-2013, 08:51 PM
RE: Restoring broken item - by Adrianis - 08-07-2013, 10:27 PM
RE: Restoring broken item - by Damascus - 08-08-2013, 12:24 AM
RE: Restoring broken item - by Adrianis - 08-08-2013, 11:11 AM
RE: Restoring broken item - by Damascus - 08-08-2013, 09:26 PM



Users browsing this thread: 2 Guest(s)