Does this take a significant amount of time if there are a lot of units? I'm trying to empty a unit group that was created with units entering a region, but it seems like the group is not empty if a enter region event occurred and caused more units to be added to the group within a few seconds of it being emptied.
There is a trigger for when a unit is highlighted. Is this when the cursor hovers over a unit? I cant seem to get the event to fire..i have a text output in actions and its not displaying when I hover over a unit. Unless of course highlighting is something else. Anyone know what exactly highlighting means?
I see what you mean and understand..and I think that should work for just keypresses...but for example: if I was checking for mouse movement events, and then was checking if the shift key was pressed in conditions it does not work..because the event tied to this function was not called and it gives an error in game. How can I use both events at the same time?
Is there a way to check to make sure that two events have occurred? For instance if you wanted to wait until both the left and right mouse buttons were pressed before running the actions.
In the mouse move event description it says:
".... Use "Mouse Moved World Pos X", "Mouse Moved World Pos Y", and "Mouse Moved World Pos Z" to get the X,Y,Z world position where the player moved the mouse."
what is "Mouse Moved World Pos X"..and the others..there are no functions by this name..how do you use this info?
Hi everyone..im trying to create an effect where a unit casts another unit..and i wanted it to launch a missile of that unit, however when the ability is used I get this placeholder ball thing. Ive created a missile model and set it to the marine model file..dont know what else I need to do, any help would be awesome. also after this ability is used I am no longer able to select the raven unless I previously set it to a control group....
I get the feeling this has something to do with +events. if someone could point me towards a decent tutorial on this topic I would appreciate it.
Hey I was wondering if someone could explain why these death models are linked the raven, and other units. trying to understand how and why things are linked in the data editor. thanks
Hi Im trying to create a behavior that will stop a unit from being able to move. I looked at the infestor behavior fungal growth but i couldn't turn anything up. any ideas? thanks
Hmm Is there a way to tell the difference between a unit on a cliff and one on low ground...in the example picture Ive attached both units return a height of 0.
is there a way to relocate a point? and would the height be adjusted if the new position was on higher terrain? or would it just be buried in the ground?
0
because some units that are supposed to be emptied from the group get selected when I select the new unit group.
0
Does this take a significant amount of time if there are a lot of units? I'm trying to empty a unit group that was created with units entering a region, but it seems like the group is not empty if a enter region event occurred and caused more units to be added to the group within a few seconds of it being emptied.
0
There is a trigger for when a unit is highlighted. Is this when the cursor hovers over a unit? I cant seem to get the event to fire..i have a text output in actions and its not displaying when I hover over a unit. Unless of course highlighting is something else. Anyone know what exactly highlighting means?
0
I see what you mean and understand..and I think that should work for just keypresses...but for example: if I was checking for mouse movement events, and then was checking if the shift key was pressed in conditions it does not work..because the event tied to this function was not called and it gives an error in game. How can I use both events at the same time?
0
Is there a way to check to make sure that two events have occurred? For instance if you wanted to wait until both the left and right mouse buttons were pressed before running the actions.
0
In the mouse move event description it says: ".... Use "Mouse Moved World Pos X", "Mouse Moved World Pos Y", and "Mouse Moved World Pos Z" to get the X,Y,Z world position where the player moved the mouse."
what is "Mouse Moved World Pos X"..and the others..there are no functions by this name..how do you use this info?
nevermind think i found it
0
Hi everyone..im trying to create an effect where a unit casts another unit..and i wanted it to launch a missile of that unit, however when the ability is used I get this placeholder ball thing. Ive created a missile model and set it to the marine model file..dont know what else I need to do, any help would be awesome. also after this ability is used I am no longer able to select the raven unless I previously set it to a control group.... I get the feeling this has something to do with +events. if someone could point me towards a decent tutorial on this topic I would appreciate it.
0
0
Hey I was wondering if someone could explain why these death models are linked the raven, and other units. trying to understand how and why things are linked in the data editor. thanks
0
Hi Im trying to create a behavior that will stop a unit from being able to move. I looked at the infestor behavior fungal growth but i couldn't turn anything up. any ideas? thanks
edit: nevermind i got it : )
0
thanks..i actually did that right after the post..worked great!
0
Hmm Is there a way to tell the difference between a unit on a cliff and one on low ground...in the example picture Ive attached both units return a height of 0.
0
yea..i guess thats all that can be expected this close to the launch..thanks for the help dude. : )
0
is there a way to relocate a point? and would the height be adjusted if the new position was on higher terrain? or would it just be buried in the ground?
0
bool gt_Testrigger_Func (bool testConds, bool runActions) { Actions point myPoint; if (!runActions) { return true; }
myPoint = UnitGetPosition(UnitFromId(1));
UIDisplayMessage(PlayerGroupAll(), c_messageAreaChat, PointGetHeight(myPoint));
return true; }
the large line gives an error, does this param only accept string?