HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

xe - Not working.

09-01-2009, 09:06 AM#1
Anachron
Hi all.

I was trying to use xecast, but it doesn't work.

What I did:
Imported xebasic, xecast, the dummy unit and the dummy model.
Saved.
Tryed a test with
Collapse JASS:
local xecast xc = xecast.createBasic('Abil', OrderId("Order"), Player(Numer))
call xc.CastInPoint(0., 0.)
But it didn't worked.
09-01-2009, 09:11 AM#2
Deaod
did you change the dummy unit id in xebasic?
did you set the dummy units cast point to 0?
09-01-2009, 09:20 AM#3
Anachron
I Copy and Pasted the dummy unit of the XE map.
I did use the same ID as in the XE map.

The ID changed to xe dummy unit, I think that
says that its sucessful at all :)
09-01-2009, 09:42 AM#4
Deaod
try setting .recycledelay to something higher than 0.
09-01-2009, 10:46 AM#5
Anachron
I only use one cast.
09-01-2009, 10:52 AM#6
ploks
Quote:
Originally Posted by Anachron
I only use one cast.

Is the castingspeed and manacost of the spell 0, and is the range 999999?
09-01-2009, 11:20 AM#7
Anachron
Quote:
Originally Posted by ploks
Is the castingspeed and manacost of the spell 0, and is the range 999999?
Nope, the range is 900 and the manacost is 75, but that doesn't matter, since dummys mana is 1000 by default and the worldmap I use in my example map is only 32x32, so its more cast range as it needs.
09-01-2009, 11:23 AM#8
Deaod
try setting the backswing point of the dummy unit to 0.001
09-01-2009, 11:31 AM#9
Anachron
Why?

I Vexorian did all that what we had required, so why should I change that?
It works as it was in the example map, I just CnPed everything.
09-01-2009, 11:40 AM#10
Silvenon
Setting recycledelay to 0 bugs for some spells. You can read this page.
09-01-2009, 01:21 PM#11
Vexorian
yes, it is the recycle delay, I would fix it but I am sort of jammed with fire spell olympics reviews...
09-01-2009, 01:29 PM#12
Anachron
But then I cannot use only one dummy for multiple units, or?

Edit: And Vex, what about the pm?
09-02-2009, 01:22 PM#13
Silvenon
You can set the recycledelay to anything higher then 0 and it should work.