I cant spawn units

Please i need to spawn units for my game

1 Like

How To Make It:

Step 1: Go To Environment Then Go On General Then Create

(KEY: ANY NAMES)
(PLAYER)
(COMPUTER 3)
Step 2: If Your Finished Go On Scripts Then Go On The Unit Section To Make A Unit
Enable AI Then Do These:
Attack response to hostile units: None
Idle behaviour: Wander
Let go distance: Anything
Max attack range: 10
Max chase/flee distance: 1000
Path finding method Simple
Sensor radius 150
Sensor response to hostile units Fight
Name: Any
Color: Any
Show Name Label: None
Attributes: None
Variables: None
Diplomacy: Idk
AI’s Attacking Unit
Attacking AI Netural
Player Hostile
After That Then Go To Scripts Then Assign Player Type And Assign AI to Attacking AI
How To Make Spawn Units:
Create A Item To Spawn A Unit (Any)
If Your Done Making A Item Then
if (( item type of ( triggering item ) )) == (Create Zombie)

then do:
create Zombie for ( owner of ( triggering unit ) ) at ( position of ( triggering item ) ) facing 0 radians
If The Unit Starts Moving And Attack The Unit Then Your Finished!

2 Likes