Been delvering through the editor and I can't seem to find the right combo to respawn a specific unit. I have Marines customized to be able to build Auto Turrets. If an Auto Turret is up and it dies, it gets respawned as well. Anyone know the Condition, action, etc, for only allowing the Marine unit type to respawn? Or any specific type? I've made variables for Heroic units, respawn behaviors, etc - no go.
Unit - (Unit 1 from Heroes ) takes Fatal Any damage (from Any effects)
Local Variables
Conditions
Actions
Unit - Revive (Triggering unit)
Unit - Move (Triggering unit) instantly to Start Location 001 (No Blend)
Unit - Hide (Triggering unit)
Camera - Pan the camera for player 1 to (Center of Region 001) over 5.0 seconds with Existing Velocity% initial velocity, 10.0% deceleration, and Do
Not use smart panning
General - Wait 5.0 Game Time seconds
Unit - Show (Triggering unit)
Unit - Set (Triggering unit) Life to ((Triggering unit) Maximum Life (Current))
Unit - Set (Triggering unit) Energy to ((Triggering unit) Maximum Energy (Current))
It's working very well and I haven't had any problems. My issue now is it's a 6 player map, but if only 2 people join, the map still spawns all 6 marines.... thoughts?
My map is set for a 6 player game. When only two players enter the game, all 6 players still spawn. No AI is set in the lobby and Player Properties on the map is set to User. Is there 'No Spawn' trigger, or something like that, that I am missing?
I made it this far, but I am getting errors with respawning
Events
Unit - Any Unit dies
Local Variables
KilledUnit = (Triggering unit) <Unit>
unit group temp = (Empty unit group) <Unit Group>
Conditions
((Unit type of (Triggering unit)) is Hero) == True
Actions
Variable - Set KilledUnit = (Triggering unit)
Unit Group - Pick each unit in (Any units in (Region((Position of (Triggering unit)), 0.1)) owned by player Any Player matching Excluded: Missile,
Dead, Hidden, with at most Any Amount) and do (Actions)
Actions
Unit Group - Add (Picked unit) to unit group temp
Unit - Hide (Picked unit)
General - Wait 5.0 Game Time seconds
Unit - Revive (Triggering unit)
Unit - Move KilledUnit instantly to (Start location of player (Owner of KilledUnit)) (No Blend)
I gave the specified units the behaviors (respawn and respawn shield). They ended up not dieing with Respawn Shield on, but while off they died and didn't respawn. I am using your trigger as well, which looks like it should be fine out of the box? Thoughts? Need any info from me?
Running into a respawn issue on my map. When a player is killed, they are not respawning at all.
Hero Respawn
Events
Unit - Any Unit dies
Local Variables
Kills = 0 <Integer[6]>
Conditions
((Unit type of (Triggering unit)) is Hero) == True
Actions
General - Wait 5.0 Game Time seconds
Unit - Create 1 (Unit type of (Triggering unit)) for player Kills[0] at (Start location of player Kills[0]) using point facing (No Options)
Any thoughts? I tried grouping all the "Hero" units in a player group, but when they respawned they weren't player controlled. Lastly, if anyone knows how to make them spawn at random points besides their start location ( to avoid camping) that would be awesome. Thanks!
I am trying to make a simple map for an event that is going on for Thanksgiving! I've been going through tutorials for hours now and I am looking for a few answers.
My goal for this map is to:
- Kill a unit and be awarded points
- Show a scoreboard for both team's points total
- The team with the most points after 10 minutes wins!
Can anyone lead me in the right direction for such events? Delvering into Google didn't provide much =/ Thank you very much!
0
@Mugen245: Go
Thanks! That is super helpful!
0
@Mugen245: Go
Oh, wow, thanks for reminding me of that... I completely skipped over that... =/
This is off the thread topic, but do you know of a thread, or know anything, about power up implenmentations?
0
Been delvering through the editor and I can't seem to find the right combo to respawn a specific unit. I have Marines customized to be able to build Auto Turrets. If an Auto Turret is up and it dies, it gets respawned as well. Anyone know the Condition, action, etc, for only allowing the Marine unit type to respawn? Or any specific type? I've made variables for Heroic units, respawn behaviors, etc - no go.
0
@MasterWrath: Go
I ended up making this for each player:
Events
Unit - (Unit 1 from Heroes ) takes Fatal Any damage (from Any effects)
Local Variables
Conditions
Actions
Unit - Revive (Triggering unit)
Unit - Move (Triggering unit) instantly to Start Location 001 (No Blend)
Unit - Hide (Triggering unit)
Camera - Pan the camera for player 1 to (Center of Region 001) over 5.0 seconds with Existing Velocity% initial velocity, 10.0% deceleration, and Do Not use smart panning
General - Wait 5.0 Game Time seconds
Unit - Show (Triggering unit)
Unit - Set (Triggering unit) Life to ((Triggering unit) Maximum Life (Current))
Unit - Set (Triggering unit) Energy to ((Triggering unit) Maximum Energy (Current))
It's working very well and I haven't had any problems. My issue now is it's a 6 player map, but if only 2 people join, the map still spawns all 6 marines.... thoughts?
0
My map is set for a 6 player game. When only two players enter the game, all 6 players still spawn. No AI is set in the lobby and Player Properties on the map is set to User. Is there 'No Spawn' trigger, or something like that, that I am missing?
0
@MasterWrath: Go
I made it this far, but I am getting errors with respawning
Events
Unit - Any Unit dies
Local Variables
KilledUnit = (Triggering unit) <Unit>
unit group temp = (Empty unit group) <Unit Group>
Conditions
((Unit type of (Triggering unit)) is Hero) == True
Actions
Variable - Set KilledUnit = (Triggering unit)
Unit Group - Pick each unit in (Any units in (Region((Position of (Triggering unit)), 0.1)) owned by player Any Player matching Excluded: Missile, Dead, Hidden, with at most Any Amount) and do (Actions)
Actions
Unit Group - Add (Picked unit) to unit group temp
Unit - Hide (Picked unit)
General - Wait 5.0 Game Time seconds
Unit - Revive (Triggering unit)
Unit - Move KilledUnit instantly to (Start location of player (Owner of KilledUnit)) (No Blend)
0
@MasterWrath: Go
I gave the specified units the behaviors (respawn and respawn shield). They ended up not dieing with Respawn Shield on, but while off they died and didn't respawn. I am using your trigger as well, which looks like it should be fine out of the box? Thoughts? Need any info from me?
0
@Mugen245: Go
I get an error whenever I do this. If I remove the Death Time, it doesn't error but doesn't work.
0
@Mugen245: Go
Being new to map editing, I am not familiar with CustomScripts such as this. How would this work?
0
@MasterWrath: Go
I do like that way, as it would help with future Maps. Have an example of such a thing? This map is very simple:
Player with the highest kill count after 10 minutes wins, but it's an FFA map - hence the respawning.
Also, is Valerian02a, what you're referring to?
0
@pokenoufl: Go
Do you have a link to that? The one I saw was Valenerra effect or whatever.
0
Running into a respawn issue on my map. When a player is killed, they are not respawning at all.
Hero Respawn
Events
Unit - Any Unit dies
Local Variables
Kills = 0 <Integer[6]>
Conditions
((Unit type of (Triggering unit)) is Hero) == True
Actions
General - Wait 5.0 Game Time seconds
Unit - Create 1 (Unit type of (Triggering unit)) for player Kills[0] at (Start location of player Kills[0]) using point facing (No Options)
Any thoughts? I tried grouping all the "Hero" units in a player group, but when they respawned they weren't player controlled. Lastly, if anyone knows how to make them spawn at random points besides their start location ( to avoid camping) that would be awesome. Thanks!
0
@bigredalpha: Go
Running into a Victory trigger problem that I could use some input on =/
It's how to tie it all in with the Timer Expires Trigger and read my scoreboard. Thoughts?
0
That is exactly what I needed, I can take it from there. Thanks!
0
Greetings everyone,
I am trying to make a simple map for an event that is going on for Thanksgiving! I've been going through tutorials for hours now and I am looking for a few answers.
My goal for this map is to:
- Kill a unit and be awarded points - Show a scoreboard for both team's points total - The team with the most points after 10 minutes wins!
Can anyone lead me in the right direction for such events? Delvering into Google didn't provide much =/ Thank you very much!