AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Increasing TE_SPRITE duration. (https://forums.alliedmods.net/showthread.php?t=215327)

Unkolix 05-06-2013 09:56

Increasing TE_SPRITE duration.
 
Is it possible to make the sprite duration longer? Or I have to show it again after the first one ends?
PHP Code:

    static origin[3]
    
get_user_origin(attackerorigin)
    
    
message_begin(MSG_PVSSVC_TEMPENTITYorigin)
    
write_byte(TE_SPRITE)
    
write_coord(origin[0])
    
write_coord(origin[1])
    
write_coord(origin[2]+65)
    
write_short(sprite)
    
write_byte(10)
    
write_byte(250)
    
message_end() 


Arkshine 05-06-2013 10:06

Re: Increasing TE_SPRITE duration.
 
If you want to have full control, consider env_sprite entity.

Unkolix 05-06-2013 10:29

Re: Increasing TE_SPRITE duration.
 
Quote:

Originally Posted by Arkshine (Post 1946927)
If you want to have full control, consider env_sprite entity.

I need only the duration, I don't know anything about those sprites... I just want the duration, because the sprite is shown very quickly... It's for deatheffect, like CSO plugin.

Arkshine 05-06-2013 10:40

Re: Increasing TE_SPRITE duration.
 
And do you see an argument for that ? No. So consider env_sprite and control the frame rate.


All times are GMT -4. The time now is 10:46.

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