RPG Creep Spawn and Patrol

Status
Not open for further replies.
Level 7
Joined
Jun 16, 2008
Messages
327
Hello,
I am busy creating my first RPG and, so far, I am doing well.
I have already created triggers, units and heroes fo my RPG.

But, now comes my problem:
What I want is: A hero owned by a human player enters a region (which I have dubbed a "creep spawn and patrol" region). Then, random creeps are spawned according to the level of experience of the hero that enters the spawning region.

After the creeps are spawned, I want them to patrol another nearby region.
But, I also want the spawning to stop if the hero unit exits the region.

There's a lot more to it, but this is basically what I want "in a nutshell".

I have tried what would seem obvious but it doesn't seem to work.

Can you please help me? :bored:
 
so do you want them to spawn continously while the hero is in the region? you could make some triggers for that, first one, hero enters region -> turn on trigger2

trigger2: every 1 second of the game, create 1 unit at region, order last created unit to move to other region

trigger3: hero leaves region, turn off trigger2
 
Its a:

Every 3 seconds of game time:


Conditions are tricky and i never tried this, so your gonna have to fiddle.
But its something like: "Hero is = to lvl 1 = true... ye I gotto go :)

Make one unit, (Random creep or specific unit) for Player (you want often hostile or ENEMIES)

Order all units in region (Forest for instance) to patroll to random point in region Forrest.
 
Status
Not open for further replies.
Back
Top