![]() |
Question!
Hello folks,
How to get the angle that my projectile is shot with inside the gani? Ehh.. what I mean is: 1. I use: temp.a = getangle( vecx( player.dir), vecy( player.dir)); shoot( player.x, player.y, player.z, temp.a, 0, 0, "e_spell_fireball", ""); 2. What I now want is getting the angle that I shot with, inside the e_spell_fireball.gani's script.. like: SCRIPT findImg( 1).text = gani.angle; SCRIPTEND Should show a message with the angle... Anyone can help me? |
Hummm I need some help... !! :P
|
This is coming from the person who managed to script perfectly lagless baddies?
P.S. params, retard. |
Quote:
No, actually, a friend of mine (Drakilor) scripted them for him. He made even more ownage baddies on Mythic. |
Quote:
If your baddy is active and using less than .0004% of the server, something's wrong. |
Quote:
|
Noobnoob
Quote:
When do people stop talking **** so fast, while they don't even know wheater its true or false! ^^ --- Quote:
|
Quote:
|
Step 1 --> shoot( player.x, player.y, player.z, temp.a, 0, 0, spell.anim, temp.a);
Step 2 --> Inside the gani (e_spellball_fireball.gani): echo( params[ 0]); Step 3 --> Pressing F2 and seeing nothing! Any comments? Ps. It's not that temp.a isn't loading or so (I also tested with this., thiso., etc..). |
Are you sure echo() works in a gani? You could try to set the players chat to params[0].
|
I did echo( "Debug: " @ params[ 0]); and all that showed up was "Debug:"... so yes it works ;)
|
The problem's in the way you scripted the gani. GG.
|
Then give me an example of what would work please? :)
|
Ehh.. no one knows how? :S
|
Quote:
|
All times are GMT +2. The time now is 09:36 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.