Hey guys,
Trying to make my unit able to jump on my map. Its third person shooter and CHOSEN hero should only be able to jump over "sandbags" which they can place by pressing "e". Now i know i could make it an air unit, though i do not know, but that would make it able to jump over walls aswell. So i thought i could make it a digger so it doesnt collide with the sandbags which collides with ground.
Could anyone help me out with this! Would be VERY greatful!
Since i REALLY suck at dataeditor i would need some step by step action :(
Oh btw, my current jump trigger (just to make it look like hes jumping, is the following:
Jump
Events
UI - Player Any Player presses Space key Down with shift Allow, control Allow, alt Allow
Local Variables
Conditions
Jump[(Triggering player)] == false
Actions
Variable - Set Jump[(Triggering player)] = true
Unit - Change PlayerUnit[(Triggering player)] height to 0.8 over 0.8 seconds
Animation - Play Walk animation for (Actor for PlayerUnit[(Triggering player)]) as Default, using Play Forever options and Default Time blend time
General - Wait 0.8 Game Time seconds
Unit - Change PlayerUnit[(Triggering player)] height to -0.8 over 0.5 seconds
General - Wait 0.5 Game Time seconds
Animation - Clear the Default animation for (Actor for PlayerUnit[(Triggering player)])
Variable - Set Jump[(Triggering player)] = false
Make a mover that allows it to go over sandbags(don't know how to do) and walls. The reaper mover/collosus mover allows it to walk over walls. However, I'm a bit inexperienced myself, so I can only help with the wall problem. =/
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Hey guys,
Trying to make my unit able to jump on my map. Its third person shooter and CHOSEN hero should only be able to jump over "sandbags" which they can place by pressing "e". Now i know i could make it an air unit, though i do not know, but that would make it able to jump over walls aswell. So i thought i could make it a digger so it doesnt collide with the sandbags which collides with ground.
Could anyone help me out with this! Would be VERY greatful!
Since i REALLY suck at dataeditor i would need some step by step action :(
Regards,
Doite
@doite:
Oh btw, my current jump trigger (just to make it look like hes jumping, is the following:
Jump
Events
UI - Player Any Player presses Space key Down with shift Allow, control Allow, alt Allow
Local Variables
Conditions
Jump[(Triggering player)] == false
Actions
Variable - Set Jump[(Triggering player)] = true
Unit - Change PlayerUnit[(Triggering player)] height to 0.8 over 0.8 seconds
Animation - Play Walk animation for (Actor for PlayerUnit[(Triggering player)]) as Default, using Play Forever options and Default Time blend time
General - Wait 0.8 Game Time seconds
Unit - Change PlayerUnit[(Triggering player)] height to -0.8 over 0.5 seconds
General - Wait 0.5 Game Time seconds
Animation - Clear the Default animation for (Actor for PlayerUnit[(Triggering player)])
Variable - Set Jump[(Triggering player)] = false
@doite:
Really no one?
Make a mover that allows it to go over sandbags(don't know how to do) and walls. The reaper mover/collosus mover allows it to walk over walls. However, I'm a bit inexperienced myself, so I can only help with the wall problem. =/