wraithseeker
Tired.
- Reaction score
- 122
How Do you make Looping Background music and looping special effects?
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Number of players in (All players matching ((((Matching player) controller) Equal to User) and (((Matching player) slot status) Equal to Is playing)))) Equal to 1
Then - Actions
Player Group - Pick every player in (All players) and do (Actions)
Loop - Actions
Hero - Make (Picked player) Heroes gain 50.00% experience from future kills
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Number of players in (All players matching ((((Matching player) controller) Equal to User) and (((Matching player) slot status) Equal to Is playing)))) Equal to 2
Then - Actions
Player Group - Pick every player in (All players) and do (Actions)
Loop - Actions
Hero - Make (Picked player) Heroes gain 60.00% experience from future kills
Else - Actions
-------- And so on --------
Ok how do you make it like you want a unit to spawn at whether 40 second, 80 second ,120 second meaning that i want it to be spawned at either 40,80 or 120
Like this:Code:If (All Conditions are True) then do (Then Actions) else do (Else Actions) If - Conditions (Number of players in (All players matching ((((Matching player) controller) Equal to User) and (((Matching player) slot status) Equal to Is playing)))) Equal to 1 Then - Actions Player Group - Pick every player in (All players) and do (Actions) Loop - Actions Hero - Make (Picked player) Heroes gain 50.00% experience from future kills Else - Actions If (All Conditions are True) then do (Then Actions) else do (Else Actions) If - Conditions (Number of players in (All players matching ((((Matching player) controller) Equal to User) and (((Matching player) slot status) Equal to Is playing)))) Equal to 2 Then - Actions Player Group - Pick every player in (All players) and do (Actions) Loop - Actions Hero - Make (Picked player) Heroes gain 60.00% experience from future kills Else - Actions -------- And so on --------
Any way to shorten it?
Actions
Set int = ((Number of players in (All players controlled by a User player)) x 10)
Player Group - Pick every player in (All players) and do (Actions)
Loop - Actions
Hero - Make (Picked player) Heroes gain ((Real(int)) + 40.00)% experience from future kills
Actions
Player Group - Pick every player in (All players) and do (Actions)
Loop - Actions
Hero - Make (Picked player) Heroes gain (((Real((Number of players in (All players controlled by a User player)))) x 10.00) + 40.00)% experience from future kills