![]() |
Invisibility, effects and hideplayer()
I'm planning to script an invisibility suit. I've toyed around with the hideplayer function, and I have a few questions:
Does hideplayer(); work as a toggle when no float is specified, or does it not work at all? There doesn't appear to be a showplayer function, so this is confusing me. Also, is there any way to produce the effect of a player fading out in a ganiscript? I'm not too proficient with both ganiscript and the emitter, so I haven't really tried. I'm after a shaking/fading effect that's often seen in horror movies (I can't really explain it, but I could probably do it if there was a way to express a player as an emitter object) |
There is an "alpha" variable for players in the next Graal version
|
Quote:
|
Quote:
|
next graal :O
sounds like u should upgrade the editor too ;D |
To OP:
I suggest you tinker with player.zoom if you want to hide the player. Just basically do something like set a player.attr to true if someone should go invisible then either in a System script or in a gani status script (like the "heart" gani that was on Maloria when it was public) make something that hides players with that attr set to true. Just player.zoom = 0; to hide and player.zoom = 1; to show. This will also hide their name. Then there is also the easy way: setani("", ""); |
Or you could just use replaceani() on the idle and walk gani's (and any others that might show up) with a blank gani (or one that doesn't exist at all)
What Maloria did for stealth was make a gani that was just a small light effect and used replaceani(), if I remember correctly. |
Quote:
|
Will showganis also have alpha properly in the next version?
|
Quote:
|
Well when he said players I'm assuming he meant all TGaniObject's which includes TServerPlayer. So I am sure this will also branch out to TShowImg_Ani's as well.
|
| All times are GMT +2. The time now is 02:16 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.