thanks for the reveiw and i'll fix the sheep issues, make the map a bit neater and do some more balancing in V8 and any other issues you or any others have i am happy to fix
onfiregun17
Posted on 08/31/11 @ 09:40 PM
thought this through alot, i have everything you need to make sure ppl WON'T want to delete the sheep. If they do i have plans if they do.... ;D
IIYAMA
Posted on 02/23/12 @ 04:13 AM
Delete(sheep) script can be fixed.
It is better not use the owner check of the sheep.
You must check the units count.
You can use this one for check control.
(Sample for player 1)
Add this to your control script.
Condition:
Player units count: player 1, sheep == 1 (this will check if the player does have a sheep. If you have more sheeps, you also have to check the rea. )
Action
.... what must happen... when you have the sheep.
OR -- or for pro side.
(Sample for player 1)
Name: Playercheck 1
(script is looping)
Condition:
Player units count: player 1, sheep == 1
Quest Var Check: player1 Value: 0
timer 1
Action:
Quest var set:
Name: player1 Value: 1
Name: player2 Value: 0
Name: player3 Value: 0
Name: player4 Value: 0
.....(set the one that controls)
fire event: Playercheck 2
fire event: Playercheck 3
fire event: Playercheck 4
.....(make sure these triggers can work again).
(Sample for player 2)
Name: Playercheck 2
(script is looping)
Condition:
Player units count: player 2, sheep == 1
Quest Var Check: player2 Value: 0 (this value will be always zero when you don't use Quest var set)
timer 1
Action:
Quest var set:
Name: player1 Value: 0
Name: player2 Value: 1
Name: player3 Value: 0
Name: player4 Value: 0
.....(set the one that controls)
fire event: Playercheck 1
fire event: Playercheck 3
fire event: Playercheck 4
.....(make sure these triggers can work again).
--In your control scripts you can use:
Name: "" Value: 1
--for activate(only when these scripts are ON) everything what you want to activate when control.
Respawn sheep?
SEE THIS:
Name: SHEEP
--Check for every player if the sheep does exist? You also have to check player 0.
USE >>OR
Condition:
Units in area: sheep "0"
Units in area: sheep "1"
Action
Create unit: sheep 1 (if you have special one use 0 other use just player 1...)
Fire event: RESHEEP
Name: RESHEEP -- (this one is NON ACTIVE(remove greenbutton)
Condition:
Timer 1
Action:
Fire event: SHEEP