![]() |
Offset a gani's x,y position in player.attr[]
I currently have a few animations that use particle effects that I would like to use without having to make new ones just to offset it by 0.5. I've never been in a situation where I feel like it's be more practical to somehow modify the x/y instead of just creating a new gani. Is there any way to access and modify the properties of a gani stored in a players attributes or will i need to just create new ones? I don't mind spending the two minutes fixing each one but if I can just manipulate it I'd rather do that.
|
Try:
findani("particleani").offsetx = .5; |
Quote:
player.attr[11] = {"oooyoutouchmytalala.gani", "mydingdingdong.gani"}; edit: just realized this is my 1000th post |
Also remember offset is clientside like zoom. And alpha, so you' ll have to embed it in the ganiscript for other players to see as well.
For the second I don't think so. Can try: Findani().playerlook = false; Findani().actor.attr[2] = "bleh.gani"; But I highly doubt that will work. |
Quote:
|
If you're trying to attach to animations or particles to the player, you're going to have to combine them into a single animation or assign them to different attrs.
I'd suggest doing a system for these types of things, so maybe attrs 10-15 would be for particles or so that way you could normally have enough space to fulfill your desires and it wouldn't be overrun by other scripters. |
| All times are GMT +2. The time now is 11:41 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.