Creeps Spawn

PwNaGe2.0

New Member
Reaction score
1
If any of you hav played 'Island Troll Tribes' you would know that the creeps there always summon or spawn somwere randomly. As well as how to make them drop gold after they die. Also I need to know how to make them respawn.
Thanks guys!!:thup:
 

cleeezzz

The Undead Ranger.
Reaction score
268
Gold is
Player - Turn player flag on for Neutral Passive

spawn randomly.

Code:
Set Temp_Point = (Random Point in (Playable Map Area))
Unit - Create 1 (Rand_Unit[(Random Number from 1 to 50)]) at Temp_Point facing default building degrees.
Custom Script:     call RemoveLocation(udg_Temp_Point)

you will need to set the unit types in an array

Rand_Unit[1] = Deer
Rand_Unit[2] = Fox

and so on.

Respawn is the same thing as creating units at a random point.
 

Atreyu

One Last Breath.
Reaction score
49
As well as how to make them drop gold after they die

Event
A unit dies
Condition
Owner of Dying Unit equal to Neutral Hostile
Action
Create 1 gold at position of dying unit.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      • Ghan
        Administrator - Servers are fun

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top