• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

My Questions Thread

Status
Not open for further replies.
Level 9
Joined
Aug 11, 2007
Messages
429
My Questions Thread [NEW QUESTION!]

Someone Suggested I MAke One, So Here It Is. I Will Put All My Questions Here.

My Current Question:

I Need To Make It So When A Unit(s) Kill this Barrel Of Explosives, THe Units Within THe Region I Made, Die (From THe Explosion You Know). This IS Very Simple, But I Just Cant Get It.



And How Many Proper Names Can You Have?
 
Last edited:
Level 3
Joined
Aug 11, 2007
Messages
42
Someone Suggested I MAke One, So Here It Is. I Will Put All My Questions Here.

My Current Question:

How Can I Make A REvive Switch, Meaning When Someone Stands On That Elevated Platform, It Goes Down And Revives Everyone And Moves All THe Living People To That Spot?


Event- Unit>Unit Enters Region
Condition- Player Not Equal To Lightblue, Darkgreen, Or Brown
Action- Remove Triggering Unit
Action- Create 1 (Unit) For Each Player


But That Means If Your Still Alive, You Get 2 guys.

And I Also Would Like It To Be Condition- Players Slot Status = To Unused, Then Dont Give Them That Unit.

made a fast trigger
  • Events
    • Unit - A unit enters place where the switch is <gen>
  • Actions
    • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      • If - Conditions
        • (Player 1 (Red) slot status) Equal to Is unused
      • Then - Actions
      • Else - Actions
        • Game Cache - Store (Last created unit) as footman of Category in footman
        • Game Cache - Restore footman of Category from footman for Player 1 (Red) at (Center of where u want ur ressed units <gen>) facing 0.00
u need a variable for the unit type to (dont really know if this one works but u can try):spell_breaker:
 
Level 9
Joined
Aug 11, 2007
Messages
429
We Need Variablles? Dang,

Why Not Just Create One (Unit) For Each Player? The Only Problem Would Be To Remove The Current Ones.
 
Level 3
Joined
Aug 11, 2007
Messages
42
then use
  • Unit - Remove (Triggering unit) from the game
but if u want more units then just the triggering i think u gotta do some variables^^:grin: U can but that lame just remove one unit
variables is so much easier in ur case... i think
 
Level 9
Joined
Jun 26, 2007
Messages
659
that's hard to understand you... are you french? (i try, i try)

pick every unit in playable map area
if (unit is a hero equal to true)
then
- revive picked unit
- move picked unit to random point in your region

something like that
but because it's hard to understand you, it's difficult to know what you exactly want :/
 
Level 9
Joined
Aug 11, 2007
Messages
429
that's hard to understand you... are you french? (i try, i try)

pick every unit in playable map area
if (unit is a hero equal to true)
then
- revive picked unit
- move picked unit to random point in your region

something like that
but because it's hard to understand you, it's difficult to know what you exactly want :/



Pretty Sure Thats What I'm Asking, Ill Go Try It.
 
Status
Not open for further replies.
Top