Can I make a flame strike appear at a region?

Dodighead147

New Member
Reaction score
0
Hi, I need to make it so that like every four seconds a flame strike appears at a given region. Does anyone know how to do this??? Please help me if you do.

Thanks!
 

Ghan

Administrator - Servers are fun
Staff member
Reaction score
889
Something like this:

Code:
Flame Strikes for Everyone
    Events
        Time - Every 4.00 seconds of game time
    Conditions
    Actions
        Set TempPoint = (Center of (Some Region))
        Unit - Create 1 SomeDummyUnit for Player 1 (Red) at TempPoint facing Default building facing degrees
        Custom script:   call RemoveLocation(udg_TempPoint)
        Set TempPoint = (Center of (Some Region))
        Unit - Order (Last created unit) to Human Blood Mage - Flame Strike TempPoint
        Custom script:   call RemoveLocation(udg_TempPoint)
 

Ghan

Administrator - Servers are fun
Staff member
Reaction score
889
Well, you need to create a Point variable in the Variable Editor.
Then find the Set Variable action. Should be good from there....
 

Varine

And as the moon rises, we shall prepare for war
Reaction score
808
Just order the dummy unit to cast Flame Strike at that region.
 

Ghan

Administrator - Servers are fun
Staff member
Reaction score
889
Look for the Unit - Issue Order Targeting A Point action.
 

Knight7770

Hippopotomonstrosesquiped aliophobia
Reaction score
187
Code:
Unit - Issue Order Targeting A Point
;)

EDIT: Or targeting a unit
 

Dodighead147

New Member
Reaction score
0
K, I did everything (by the way thanks A LOT) but when I go there nothing happens. So... Close.... Must.... Complete....
 

Ghan

Administrator - Servers are fun
Staff member
Reaction score
889
Well, upload your map.
Or at least paste your trigger here.
 

Dodighead147

New Member
Reaction score
0
Hi, Thanks, heres my Trigger:
Code:
Flamestrike Region
    Events
        Time - Every 4.00 seconds of game time
    Conditions
    Actions
        Custom script:   call RemoveLocation(udg_TempPoint)
        Unit - Order (Last created unit) to Human Blood Mage - Flame Strike TempPoint
        Set TempPoint = (Center of Region 004 <gen>)
        Custom script:   call RemoveLocation(udg_TempPoint)
        Unit - Create 1 Blood Mage for Player 1 (Red) at TempPoint facing Default building facing degrees
        Set TempPoint = (Center of Region 004 <gen>)

*UPDATE* Ok, cool. The thing now is that unlimited Blood Mages keep coming! Also they are controlled by me. I want a fire strike to appear on that spot every four seconds...
 

Ghan

Administrator - Servers are fun
Staff member
Reaction score
889
Well, you need some dummy unit that isn't controlled by you....
 

Dodighead147

New Member
Reaction score
0
Do you do that by making a Neutral Hostile? Im going to try that right now...

*UPDATE* Ok... Now hostile Blood Magi stack... I don't see any flame strikes happening....
 

Ghan

Administrator - Servers are fun
Staff member
Reaction score
889
Perhaps you should seek out some tutorials on making trigger enhanced spells to learn about the concept of dummy casters. :D
 

foodflare

You can change this now in User CP.
Reaction score
32
btw pointed out stuff is switched if you switch those around it should work and you need to change blood mage's model to none if you are gonna use it

Flamestrike Region
Events
Time - Every 4.00 seconds of game time
Conditions
Actions
Custom script: call RemoveLocation(udg_TempPoint)
--> Unit - Order (Last created unit) to Human Blood Mage - Flame Strike TempPoint
Set TempPoint = (Center of Region 004 <gen>)
Custom script: call RemoveLocation(udg_TempPoint)
--> Unit - Create 1 Blood Mage for Player 1 (Red) at TempPoint facing Default building facing degrees
Set TempPoint = (Center of Region 004 <gen>)
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top