AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   TE_PlayerAttachment set frame (https://forums.alliedmods.net/showthread.php?t=282676)

Whitez 05-14-2016 09:27

TE_PlayerAttachment set frame
 
How can be a particular frame set for a sprite spawned via TE_PLAYERATTACHMENT ?
I want to use only one sprite file for 20 different static sprites

SpannerSpammer 05-15-2016 02:59

Re: TE_PlayerAttachment set frame
 
It's not possible using the TE Effect messages.

You will have to use an env_sprite (which you can set the frame) and
modify its origin constantly to follow the player. Use a vertical offset of
about 48 units above player origin to mimic a TE_PLAYERATTACHMENT effect.

Whitez 05-15-2016 11:39

Re: TE_PlayerAttachment set frame
 
I didn't need it to follow the player, thanks anyway but i will use individual sprites :P


All times are GMT -4. The time now is 18:33.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.