HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Hard Question to Explain.....

06-13-2003, 04:46 AM#1
l)ark_Link
In my map, there is arrowkey movement, and the ability to jump. Now ive gotten the units to jump striaght up if they just press up on the arrow key, and over/up if they press a given direction, and the unit appears to be steping on, whats really a unit with a doodad model. So now, I have the jumping unit on the doodad modeled unit, and the jumping unit cant descide where he's at.......Ive tried nearly everything, but unless I can make a hovering region, im stumped. Because the jumping unit can run under the doodad unit, and so on, ect ect, and then jump onto it. But i cant make it so that the Jumping unit knows when to fall off the doodad unit, at the end of the model. Does this make any sense to anyone? Because its really hard to explain what im talking about......I just have no clue at all, how I would let the Jumping unit know its time to fall down, when it reaches the edge of the doodad unit (because really, he is just raised to that hight). Argh...this is fairly confusing....... emote_sweat
06-13-2003, 08:43 AM#2
TheZaCrew
What about making an if action that if unit=tree then make unit move to that place etc. ?
06-13-2003, 04:56 PM#3
l)ark_Link
I dont get what you just said. But Ill try to restate my problem in a different way.

I have a unit, which is controlled by a user, that can move left and right with the arrow keys, but also jump.

There is a second "set" of units. Units that look like short wall ends, all lined up. These are really just units that look like the short wall end doodad. Put together, I call them the "platform". Now I have a unit that can move around freely, under the platform, and then jump (raise its hight to the hight of the top of the platform). But I have no way in telling the unit to fall off the edge, if it reaches the edge of the platform, or if the unit decides to jump off the side, I have no way of telling it that its jumping down to the lower platform.

This is what my problem is. I cant make the unit recognize that its standing on something that it really ISNT standing on. Im not sure how to approach this problem.
06-13-2003, 04:56 PM#4
l)ark_Link
I dont get what you just said. But Ill try to restate my problem in a different way.

I have a unit, which is controlled by a user, that can move left and right with the arrow keys, but also jump.

There is a second "set" of units. Units that look like short wall ends, all lined up. These are really just units that look like the short wall end doodad. Put together, I call them the "platform". Now I have a unit that can move around freely, under the platform, and then jump (raise its hight to the hight of the top of the platform). But I have no way in telling the unit to fall off the edge, if it reaches the edge of the platform, or if the unit decides to jump off the side, I have no way of telling it that its jumping down to the lower platform.

This is what my problem is. I cant make the unit recognize that its standing on something that it really ISNT standing on. Im not sure how to approach this problem.
06-13-2003, 04:56 PM#5
l)ark_Link
wow wtf, this is a messed up thing.......I pressed post 1 time.....weird
06-14-2003, 03:07 AM#6
l)ark_Link
I think I might have an idea, i just dont know how to do it....

Can I make a region underneath the platform, then make it so that if the unit is at a certain height, it makes them fall back down, if they Leave that region. Is there a condition for a unit being at a certain height? Argh... :////
06-15-2003, 08:54 AM#7
TheZaCrew
what about making a variable check set a variable to the units height.
06-15-2003, 04:22 PM#8
Milkman
In staredit there were small boxes that you could check or uncheck with labels like: mid-air, ground etc. (something like that) theese boxes made it so that if a flying unit passed over a ground region with a kill trigger packed into it, nothing would happen. Shouldn't i be weird if that wouldn't exist in WE?
Hope you find a solution to your problem cause that would be really cool.