Is it possible to attach a sprite to a non-player model?
I know there is the TE_PLAYERATTACHMENT which allows you to attach a sprite to a player.
But can I spawn a model somewhere on a map (empty/blank). And then attach a sprite to it? Or am I just going to have to make my sprite into a model? Josh |
I believe with TE_PLAYERATTACHMENT, as the name states, you can only attach the sprites to a player, and not any entity.
However, you can attach a sprite or model to any entity with the following code. Code:
Thing to note is that the really only reliable way to follow an entity is by giving it a z-coordinate only, since any x/y coord will not rotate with the player when their angles change. Hope this helps. |
| All times are GMT -4. The time now is 14:54. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.