Can you do me a spell of hell?
this is what it does:
-a small explosion in the casters area which stuns all enemy arround it
and then a pentagram should appear arroung the casting unit and after 5 seconds the caster needs to summon a dragon which lasts only for 1 minute
no I meant where do I add this code:
library MULTIBOARD initializer init
globals
private multiboard board
private force players = CreateForce()
private integer PlayerCount = 0
private string array colors
private group G = CreateGroup()
endglobals
private...
I just created an integer-
NumPlayer = 0 + array...
then there are 4 different triggers:
Player1Group
Events
Map initialization
Conditions
(Player 1 (Red) slot status) Equal to Is playing
Actions
Player Group - Add Player 1 (Red) to LegendaryGroup...
Nope that didn't work...
here's my trigger:
CloseGate1
Events
Unit - A unit enters Gate2 <gen>
Conditions
And - All (Conditions) are true
Conditions
(Number of units in (Units in Gate2 <gen> matching (((Triggering unit) is A Hero) Equal to...
Trigger:
* Conditions
o And
+ Number of Units in Region 001 <gen> equal to NumHeroes
+ Unit-type of (Entering Unit) equal to Hero
o Actions
o ...
I can't find this: Unit-type of (Entering Unit) equal to Hero
"hero" is meant to be to any type of hero not a specific one.
what I meant is like this:
EVENT:
unit enters region
Condition:
number of heroes in region = myintreger
action:
close gate
help?