Ok I have this, I want the trigger to make the HP of a unit what is specified
---
This is what I want:
Player 1: -hp #
(sets hp of targeted unit to # specified, integer must be < / = current life of targeted unit
-
hp
-

Events
-


Player - Player 1 (Red) types a chat message containing -hp as A substring
-
-

Conditions
-


(Integer((Substring((Entered chat string), 6, 12)))) Less than or equal to (Integer((Life of (Targeted unit))))
-
-

Actions
-


Set HP_Variable = (Integer((Substring((Entered chat string), 6, 12))))
-


Unit - Set life of (Targeted unit) to (Real(HP_Variable))
-
-
-
hp
-

Conditions
-


(Integer((Substring((Entered chat string), 6, 12)))) Less than or equal to (Integer((Life of (Targeted unit))))
-
-
---
This is what I want:
Player 1: -hp #
(sets hp of targeted unit to # specified, integer must be < / = current life of targeted unit






