- Joined
- Dec 11, 2014
- Messages
- 2,004
(Yes I sometimes use GUI too)
This is an extremely simple trigger I've made to use in my ORPG map, that uses upgrades and handicap to raise the difficulty of creeps in harmony with the number of players playing.
Now the problem:
The creep's maximum hp change to an extremely low max hp i.e normal OE hp is 500, after using this: 5. Is this a problem with the handicap?
This is an extremely simple trigger I've made to use in my ORPG map, that uses upgrades and handicap to raise the difficulty of creeps in harmony with the number of players playing.
-
Difficulty System
-
Events
-
Map initialization
-
-
Conditions
-
Actions
-
Do Multiple ActionsFor each (Integer A) from 1 to 8, do (Actions)
-
Loop - Actions
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Player[(Integer A)] slot status) Equal to (==) Is playing
-
(Player[(Integer A)] controller) Not equal to (!=) None
-
Comment - I know a comment in a condition is dumb
-
Comment - The (Player[(Integer A)] controller) Not equal to (!=) None checks for the computer players too, the map uses ORPG AI.
-
-
Then - Actions
-
Set Number_of_Players = (Number_of_Players + 1)
-
-
Else - Actions
-
-
-
-
Set Difficulty = (Real(Number_of_Players))
-
Player - Set Neutral Hostile handicap to (100.00 x Difficulty)%
-
Player - Set the current research level of Attack bonus for creeps to (Integer(Difficulty)) for Neutral Hostile
-
Custom script: call DestroyTrigger(GetTriggeringTrigger())
-
-
Now the problem:
The creep's maximum hp change to an extremely low max hp i.e normal OE hp is 500, after using this: 5. Is this a problem with the handicap?