New Map - Type Of Board Game - Post here

What board game?

  • Chess

    Votes: 5 33.3%
  • Checkers

    Votes: 1 6.7%
  • Life

    Votes: 4 26.7%
  • None of the above

    Votes: 3 20.0%
  • I have another idea(Post here)

    Votes: 2 13.3%

  • Total voters
    15

Lord_Kami

Member!
Joined
Jul 8, 2003
Messages
46
Reaction score
0
Website
Visit site
Your unit is a Human Canon Tower
The Cannon towers ammo is a variable called ammo set to ammount of ammo, i made 5 in my example map!
Events
Unit - (the Cannon Tower) is issued an order targeting a point
Conditions
Maybe? Dunno yet!
Actions
Unit - Order (the Cannon Tower) to stop (didn't work, dunno what went wrong)
If (ammo Less than or equal to 0.00) then do (Unit - Kill (Triggering unit) else (do nothing)
Set ammo = (ammo - 1.00)

Sorry, wrong place, please delete now!
 

Hitsua

+
Joined
May 26, 2003
Messages
4,305
Reaction score
5
Acualy dont delete. I might need this. But how would you sent ammo?
 

Lord_Kami

Member!
Joined
Jul 8, 2003
Messages
46
Reaction score
0
Website
Visit site
You know how to make a variable? Just make a real variable and set the ammo to, lets say 5! Make the trigger so that everytime the canontower attacks ground set ammo (ammo - 1). If ammo gets to 0 or below, remove or kill the canon tower!
 

Hitsua

+
Joined
May 26, 2003
Messages
4,305
Reaction score
5
Why remove it. Just do like

Condition - If CannonTower039 Has Variable Equal Or Less That 0
Disable attack one.

- Player 1 has a "Item" in his inventory named ''Ammo"

Action -Set variable "Ammo" To x ammount of item
-Close Trigger


Would that work?
 

Lord_Kami

Member!
Joined
Jul 8, 2003
Messages
46
Reaction score
0
Website
Visit site
Ok, ill try to make that then!

HAHA, i gave the canon tower inventory and made a custom item called ammo and put it in it's inventory. When i gave the tower order to attack ground the game freezed and i got fatal error, tried again, same thing happened. You not supposed to give cannon towers inventory :D
 

Hitsua

+
Joined
May 26, 2003
Messages
4,305
Reaction score
5
Ahaa same thing happens if you try to burrow a peon into a zergling.. really it does
 

Hitsua

+
Joined
May 26, 2003
Messages
4,305
Reaction score
5
Was bored. I should try to burrow a peon inside of a peasant, and the the peasant with the peon into a cannon tower
 

NewPosts

New threads

Top