Change

Levdragon

Member
Reaction score
2
Hey,

How can I make it so when say a unit casts spell (Give Birth) it will randomily make a baby girl or a baby boy.
 

jnZ

I
Reaction score
64
Code:
Events
  Unit Starts the effect of an ability
Conditions
  Ability being cast = Birth
Actions
  If/Then/Else
     Conditions
     If Random integer number between 1-2 = 1 
     Then
     Unit Create 1 BOY at postion of casting unit
     Else 
     Unit Create 1 GIRL at postion of casting unit
 

Levdragon

Member
Reaction score
2
Thankyou man that is really helpful, im also wondering how to make it so after a certain time say 30 seconds the child turns into a teen? If anyone knows plz tell me plus rep for jnz for giving me that code.
 

cleeezzz

The Undead Ranger.
Reaction score
268
check out dameons spawning map, he has exactly what you want. (try searching, "i was bored" i think that was the thread name.)

he used mana for the growing, they start at 0 mana, when they reach full mana, they turn into the next stage of life.

(its the 6th one down when you search that.)
 
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