Maze help

war444

New Member
Reaction score
2
Hey , im trying to make a maze game , and i dont want to put regions all over the place. Is there anyother way to make it when people walk off path , they die?

Thanks
 

BRUTAL

I'm working
Reaction score
118
example
Code:
Walk off path
    Events
        Time - Every 0.05 seconds of game time
    Conditions
    Actions
        Unit Group - Pick every unit in (Units of type Civilian) and do (Actions)
            Loop - Actions
                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    If - Conditions
                        (Terrain type at (Position of (Picked unit))) Equal to Ashenvale - Grassy Dirt
                    Then - Actions
                        Unit - Kill (Picked Unit)
                    Else - Actions
        Custom script: call DestroyGroup(GetLastCreatedGroup())
 

Sirroelivan

Gunnerkrigg Court
Reaction score
95
Code:
Death Trigger
    Events
        Time - Every 0.50 seconds of game time
    Conditions
    Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                (Terrain type at (Position of <Runner 007>)) Equal to Dungeon - Lava
            Then - Actions
                Unit - Kill <Runner 007>
            Else - Actions
                Do nothing
 

Sevion

The DIY Ninja
Reaction score
413
Sirroelivan, you don't need that "Do nothing" in there.

And you'd have to create an If/Then/Else for every unit there was. Much simpler using BRUTAL's method.
 

Romek

Super Moderator
Reaction score
964
Code:
Custom script: call DestroyGroup(GetLastCreatedGroup())

That won't work in that trigger.
Use set tempgroup = Units of type...

call DestroyGroup(udg_tempgroup)

Edit: 3k Posts :D
 

war444

New Member
Reaction score
2
Another Question!

Thanks!

Heres another question :

How do you make it when them mazer unit touches the enemie unit they die?
 

Sevion

The DIY Ninja
Reaction score
413
Give them Immolation or just have a trigger that fires whenever a unit comes within XX of Unit kill Unit etc etc.
 

Renendaru

(Evol)ution is nothing without love.
Reaction score
309
You can add a permanent immolation to every unit, but making immo invisable, or you can have every unit registered, then have the specific unit event to detect when a mazer comes near.

Edit: Wow.... me and Sevion had the same exact idea. XD
 

MurderMode

Giving new meaning to co-op... slowly
Reaction score
154
those two guys are right ^

immolation minus the effects, incredibly high damage and an aoe radius only slightly bigger then the unit itself would be the easiest way.

It's a pain in the ass to set every player unit (or on the flipside every enemy unit) to a variable and then trigger it so when they come with in range they die. Do the immo trick
 

Sevion

The DIY Ninja
Reaction score
413
I'm not familiar with Immolation anymore, but if you can, change the damage interval to something smaller. Every 1 second can miss. I've played mazes in which I've rushed through the whole maze and not a single Immolation touched me.... and I ran though every single creep.
 

war444

New Member
Reaction score
2
This may sound dumb , but i cant find the trigger that makes the unit walk/run to the region
 

Renendaru

(Evol)ution is nothing without love.
Reaction score
309
Code:
Unit - Order YourUnit to Patrol To YourRegion

Edit: Make sure that your maze people belong to the group Neutral Victim. :D
 

war444

New Member
Reaction score
2
WOW you guys r so much help , im serious

how do i make the invisible immolation and how do i make it so the enemie turns it on auto-matically?
 

Marcel

New Member
Reaction score
12
Yes!

Wohooooo! i just wanted this trigger too! (I mean terrain kill BRUTAL Now i bomb you with repulation) ^^

Edit 1: Find "Passive Immolation" In Object Editor then change missiles etc and i think its "invisible" But im not sure :)
 

Kazuga

Let the game begin...
Reaction score
110
how do i make the invisible immolation and how do i make it so the enemie turns it on auto-matically?
Use permanent immolation, it's passive so you don't have to activate it. To remove the fire change the immolation buff in object editor.
 

Romek

Super Moderator
Reaction score
964
Use permanent immolation, it's passive so you don't have to activate it. To remove the fire change the immolation buff in object editor.

That won't work.
I remember trying it once, and the fire still appeared.
This is probably the reason why people trigger it.
 

Marcel

New Member
Reaction score
12
Romek

Hey Romek can i have trigger with your system brutal system didint work and im confused about yours :) (Handmade / copypaste is best :) )

Edit1: No Dont! I solved proplem and terrainkill works rly good! Thanks lot romek :)
 

war444

New Member
Reaction score
2
How do you make it so when the player reaches a certain point , they all revive? can i have the trigger?
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top