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
Connect Area to Entity
Phoroneus Offline
Member

Posts: 141
Threads: 12
Joined: Feb 2011
Reputation: 0
#18
RE: Connect Area to Entity

(08-15-2011, 02:46 AM)Your Computer Wrote:
(08-14-2011, 10:33 PM)Phoroneus Wrote: Bad news. While I've got the code working properly, enemies do not count as props, so nothing can be attached to them.
This may touch on what Apjjm wrote, but depending on how the monster is killed, you could probably pull it off. If you're killing the monster with a weapon, like a sword, then you should be able to attach the ragdoll to the weapon and hopefully RemoveAttachedPropFromProp() does nothing more than the description of the function.

This does work. The only thing left to do is sort out the facing. I could try to get it to recognize physics (e.g. momentum of the monster) but I've spent enough time on this for one day, I think.
I stand corrected: the AttachPropToProp doesn't make the object appear as I thought. The success was caused inadvertently by having an inactive ragdoll entity in my test map. Back to the drawing board, I suppose. Tongue

[Image: at_9365860.png]

Follow Harvest.
(This post was last modified: 08-15-2011, 09:54 AM by Phoroneus.)
08-15-2011, 09:42 AM
Find


Messages In This Thread
Connect Area to Entity - by Phoroneus - 08-14-2011, 07:00 PM
RE: Connect Area to Entity - by palistov - 08-14-2011, 07:28 PM
RE: Connect Area to Entity - by Your Computer - 08-14-2011, 07:35 PM
RE: Connect Area to Entity - by Phoroneus - 08-14-2011, 08:09 PM
RE: Connect Area to Entity - by Your Computer - 08-14-2011, 08:39 PM
RE: Connect Area to Entity - by Phoroneus - 08-14-2011, 08:51 PM
RE: Connect Area to Entity - by Your Computer - 08-14-2011, 09:21 PM
RE: Connect Area to Entity - by Phoroneus - 08-14-2011, 09:56 PM
RE: Connect Area to Entity - by Your Computer - 08-14-2011, 10:27 PM
RE: Connect Area to Entity - by Phoroneus - 08-14-2011, 10:33 PM
RE: Connect Area to Entity - by Your Computer - 08-15-2011, 02:46 AM
RE: Connect Area to Entity - by Phoroneus - 08-15-2011, 09:42 AM
RE: Connect Area to Entity - by palistov - 08-14-2011, 11:31 PM
RE: Connect Area to Entity - by Tanshaydar - 08-14-2011, 11:36 PM
RE: Connect Area to Entity - by palistov - 08-14-2011, 11:37 PM
RE: Connect Area to Entity - by Tanshaydar - 08-14-2011, 11:40 PM
RE: Connect Area to Entity - by Phoroneus - 08-15-2011, 01:01 AM
RE: Connect Area to Entity - by Apjjm - 08-15-2011, 01:52 AM



Users browsing this thread: 1 Guest(s)