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
Model editor - Can Attach Character
Apjjm Offline
Is easy to say

Posts: 496
Threads: 18
Joined: Apr 2011
Reputation: 52
#1
Model editor - Can Attach Character

When defining body properties inside the model editor, there is an option for "Can Attach Character". From the naming, I am assuming this would mean i could actually attach this entity to the player somehow, if I were to check this option.

The only method that seems like it could do this is the following:
AddAttachedPropToProp("Player","test","test_entity.ent",1,1,1,0,0,0);
But this doesn't work, which I don't find surprising as the "Player" entity seems to only be considered when passed in as the parent in collision functions.

Of course, this may not be the correct interpretation of this option. It could, in fact, be suggesting that if that body were attached to something like a grunt it would prevent the entity from glitching out.

Is either of these two interpretations correct? If the first one is correct, how to I achieve the actual attach to the character?
(This post was last modified: 08-17-2011, 11:50 PM by Apjjm.)
06-29-2011, 07:28 PM
Find


Messages In This Thread
Model editor - Can Attach Character - by Apjjm - 06-29-2011, 07:28 PM



Users browsing this thread: 1 Guest(s)