Ever encountered this?

rayquaza218

New Member
Reaction score
51
Well, ever tried making a spell needing a unit variable? well i did, try doing this

Code:
Create one "dummy caster" for player 1 red, facing default building degress
set least created unit= to )VARIABLE(

then on another trigger
Code:
event
a unit enters withing 100 of )variable(

AND IT DOESN:T WORK!!! i mean why shudn;t it not work

the variable is a unit variable
 
A

alzidaney

Guest
Yeah i encountered that. Your second trigger, that event seems to accept generic units only. You'd have to select it in game. I dont know how to get around that though.

All i do, i just set a different event, and I just do a unit group come within
range check. Apparently that's the only way for me to check within range. :(
 

rayquaza218

New Member
Reaction score
51
So another trigger adds stuff to a unit group?? Is that what u are trying to say?

do you have the trigger for it, im kinda confused right now
 

the Immortal

I know, I know...
Reaction score
51
In the 1st trigger use "Trigger - Add Event" and add the event to the 2nd trigger using [Last Created Unit] or the [Variable]. I don't know if there is bug somewhere, but it is possible.
 
A

alzidaney

Guest
So you mean to say, we use the "Action - Add Trigger Event" to the 2nd trigger and it should be able to use the unit variable? Hmm.. Interesting.. I'll try it soon..
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top