Clan UFW

Warcraft 3 USEast Clan for Fate / Another
 
HomeCalendarFAQSearchMemberlistUsergroupsRegisterLog in

Share | 
 

 WWTTFFFFFFFFFFFFFFFFFFFFFFFFFFF (needs 10 chars)

View previous topic View next topic Go down 
AuthorMessage
LightburneR

avatar

Posts : 673
Join date : 2009-08-01

PostSubject: WWTTFFFFFFFFFFFFFFFFFFFFFFFFFFF (needs 10 chars)   Tue Nov 03, 2009 4:41 am

Spoiler:
 

WHY IS THIS NOT WORKING!?

It's supposed to remove the caster and cast Cluster Rockets (or a version of it) at a target point (designated by Flame Strike, or a version of it <<)

The problem is that the coordinates always return as 0,0 (ie, centre of the map)

-________________- Simple script screwing up ftw.
Back to top Go down
View user profile
Brogath

avatar

Rank : Dark Saber (11) Posts : 284
Join date : 2009-10-13
Age : 28
Location : Netherlands

PostSubject: Re: WWTTFFFFFFFFFFFFFFFFFFFFFFFFFFF (needs 10 chars)   Tue Nov 03, 2009 8:42 am

since you coordinates are not correct, i assume it is a issue with
Quote :
local real x = GetLocationX(SpellTarget)
local real y = GetLocationY(SpellTarget)
these two variables.

how about fist trying the spell without these two and simply making the spell directly around the caster, if that does not work either, the spell itself will not allow something like that (don't ask me how), if it does work that way, you should check the getlocation values or something...
Back to top Go down
View user profile
LightburneR

avatar

Posts : 673
Join date : 2009-08-01

PostSubject: Re: WWTTFFFFFFFFFFFFFFFFFFFFFFFFFFF (needs 10 chars)   Tue Nov 03, 2009 8:52 am

I already checked those =S.

They're blizzard natives (no typos or anything) which means there should be no reason for them bugging >_>"

Kinda the main reason why I'm going insane <_<"
Back to top Go down
View user profile
Brogath

avatar

Rank : Dark Saber (11) Posts : 284
Join date : 2009-10-13
Age : 28
Location : Netherlands

PostSubject: Re: WWTTFFFFFFFFFFFFFFFFFFFFFFFFFFF (needs 10 chars)   Tue Nov 03, 2009 9:35 am

maybe it doesn't like you using the basic variable names "X' and "Y" how about picking a different name for these? like "X1" and "Y1", in some programming languages that solves things...
Back to top Go down
View user profile
LightburneR

avatar

Posts : 673
Join date : 2009-08-01

PostSubject: Re: WWTTFFFFFFFFFFFFFFFFFFFFFFFFFFF (needs 10 chars)   Tue Nov 03, 2009 10:26 am

Hmm

I'll try that.
Back to top Go down
View user profile
l46kok
Fate Another Developer


Posts : 1673
Join date : 2009-08-01
Age : 29
Location : Laramie

PostSubject: Re: WWTTFFFFFFFFFFFFFFFFFFFFFFFFFFF (needs 10 chars)   Wed Nov 04, 2009 8:22 am

LightburneR wrote:
Spoiler:
 

WHY IS THIS NOT WORKING!?

It's supposed to remove the caster and cast Cluster Rockets (or a version of it) at a target point (designated by Flame Strike, or a version of it <<)

The problem is that the coordinates always return as 0,0 (ie, centre of the map)

-________________- Simple script screwing up ftw.

First of all, instead of

Quote :

function Trig_Stone_Form_Conditions takes nothing returns boolean
if ( GetSpellAbilityId() == 'A002' ) then
return true
endif
return false
endfunction

Do

Quote :

function Trig_Stone_Form_Conditions takes nothing returns boolean
return GetSpellAbilityId() == 'A002'
endfunction

Does exactly the same thing.

Also, you better do

Quote :

call RemoveLocation(SpellTarget)

Before you null the variable, or your map will LEAK.

Try EVENT_PLAYER_UNIT_SPELL_EFFECT see if that works.
Back to top Go down
View user profile http://clanufw.darkbb.com
LightburneR

avatar

Posts : 673
Join date : 2009-08-01

PostSubject: Re: WWTTFFFFFFFFFFFFFFFFFFFFFFFFFFF (needs 10 chars)   Wed Nov 04, 2009 8:43 am

Yay kok +rep (oh wait, it doesn't exist)

=_=, gay WE.

EVENT_PLAYER_UNIT_SPELL_EFFECT works but EVENT_PLAYER_UNIT_SPELL_ENDCAST doesn't

=...................................="""""""
Back to top Go down
View user profile
l46kok
Fate Another Developer


Posts : 1673
Join date : 2009-08-01
Age : 29
Location : Laramie

PostSubject: Re: WWTTFFFFFFFFFFFFFFFFFFFFFFFFFFF (needs 10 chars)   Thu Nov 05, 2009 10:45 pm

LightburneR wrote:
Yay kok +rep (oh wait, it doesn't exist)

=_=, gay WE.

EVENT_PLAYER_UNIT_SPELL_EFFECT works but EVENT_PLAYER_UNIT_SPELL_ENDCAST doesn't

=...................................="""""""

G-G-G-G-G-G-G-G-G-G-ODLIKE
Back to top Go down
View user profile http://clanufw.darkbb.com
LightburneR

avatar

Posts : 673
Join date : 2009-08-01

PostSubject: Re: WWTTFFFFFFFFFFFFFFFFFFFFFFFFFFF (needs 10 chars)   Fri Nov 06, 2009 12:00 am

Wat, it's a real function >_>
Back to top Go down
View user profile
Sponsored content




PostSubject: Re: WWTTFFFFFFFFFFFFFFFFFFFFFFFFFFF (needs 10 chars)   

Back to top Go down
 
WWTTFFFFFFFFFFFFFFFFFFFFFFFFFFF (needs 10 chars)
View previous topic View next topic Back to top 
Page 1 of 1
 Similar topics
-
» 1500 no named character list
» Ala Alba Clan looking for chars from Akamatsuverse
» Yatagarasu 3ds (Fighting Game)
» Battle Block Theater an amazing game
» New version of MXL on D2 Maniacs, chars to be reset?

Permissions in this forum:You cannot reply to topics in this forum
Clan UFW :: Warcraft 3 :: Map Making-
Jump to: