Skip to content
#60
Auto-translated
GetObjectCreatures('town1', 1) > 299 and GetObjectiveState('obj1c') == OBJECTIVE_ACTIVE or GetObjectCreatures('town1' , 2) > 299 and GetObjectiveState('obj1c') == OBJECTIVE_ACTIVE or GetObjectCreatures('town1' , 106) > 299 and GetObjectiveState('obj1c') == OBJECTIVE_ACTIVE

This long condition can be replaced with:
GetObjectCreatures('town1', 1) + GetObjectCreatures('town1', 2) + GetObjectCreatures('town1', 106) >= 300 and GetObjectiveState('obj1c') == OBJECTIVE_ACTIVE

By the way, why check if the objective is active multiple times in one condition?

Statistics

Welcome our newest member: Emil

Users Online 3 users 1404 guests