• Change trails settings while its active?
    3 replies, posted
How can i change the settings of util.SpriteTrail() without loosing the existing trail? Or is there maybe another way to create trails, one which would allow settings to be changed while active?
Store the returned env_spritetrail entity and change its keyvalues with SetKeyValue() [url]http://developer.valvesoftware.com/wiki/Env_spritetrail[/url]
[QUOTE=Hoffa1337;23494296]Store the returned env_spritetrail entity and change its keyvalues with SetKeyValue() [URL]http://developer.valvesoftware.com/wiki/Env_spritetrail[/URL][/QUOTE] Completely forgot about env_spritetrail. thanks.
[QUOTE=freemmaann;23494751]Completely forgot about env_spritetrail. thanks.[/QUOTE] util.SpriteTrail returns an env_spritetrail. [lua] local trail = util.SpriteTrail( blah ) print( trail:GetClass() ) [/lua]
Sorry, you need to Log In to post a reply to this thread.