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
Connecting entities
Daemian Offline
Posting Freak

Posts: 1,129
Threads: 42
Joined: Dec 2012
Reputation: 49
#4
RE: Connecting entities

But ConnectEntities is for wheels.
I think you're looking for AddAttachedPropToProp.

You can check in 21_torture_nave.hps (line 585)
function name is UseMeatOnRope

How they attach meat to an invisible box on the rope
PHP Code: (Select All)
AddAttachedPropToProp("invisible_box_mass_2_1""fresh_meat_onrope_1""fresh_meat_onrope.ent"0,0,00,0,0); 

When the rope is down, it enters an area that removes the meat
PHP Code: (Select All)
RemoveAttachedPropFromProp("invisible_box_mass_2_1""fresh_meat_onrope_1"); 

(This post was last modified: 01-30-2014, 05:32 AM by Daemian.)
01-30-2014, 05:26 AM
Find


Messages In This Thread
Connecting entities - by OriginalUsername - 01-29-2014, 08:11 PM
RE: Connecting entities - by FlawlessHappiness - 01-29-2014, 10:09 PM
RE: Connecting entities - by OriginalUsername - 01-29-2014, 10:26 PM
RE: Connecting entities - by FlawlessHappiness - 01-30-2014, 10:16 AM
RE: Connecting entities - by Daemian - 01-30-2014, 05:26 AM
RE: Connecting entities - by OriginalUsername - 02-06-2014, 02:06 PM



Users browsing this thread: 1 Guest(s)