Kusanagi Kuro
Hosted Project: SC
- Joined
- Mar 11, 2012
- Messages
- 708
Hello guys. I'm making a hero who has 2 form: Day and Night. When the time is 6:00 am, he will transform to Day form and when the time is 18:00, he will transform to Night form. I create 2 ability like in the attachment (dont know how to post image from my computer so I'll use attachment, sorry for the inconvenient.).
And I have 2 triggers for each of them:
6:00 Transformation:
18:00 Transformation:
But when I test it, it doesnt work :|. I follow all the steps in the tutorial. Does anyone have any idea?
And I have 2 triggers for each of them:
6:00 Transformation:
-
Transform N2D
-
Events
- Game - The in-game time of day becomes Equal to 6.00
- Conditions
-
Actions
- Set tempGroup = (Units in (Playable map area) matching ((Unit-type of (Matching unit)) Equal to Chaos Angel (Night)))
-
Unit Group - Pick every unit in tempGroup and do (Actions)
-
Loop - Actions
- Set CV = (Custom value of (Picked unit))
- Unit - Add Night to Day to (Picked unit)
- Unit - Remove Night to Day from (Picked unit)
-
Loop - Actions
- Custom script: call DestroyGroup(udg_tempGroup)
-
Events
-
Transform D2N
-
Events
- Game - The in-game time of day becomes Equal to 18.00
- Conditions
-
Actions
- Set tempGroup = (Units in (Playable map area) matching ((Unit-type of (Matching unit)) Equal to Chaos Angel (Night)))
-
Unit Group - Pick every unit in tempGroup and do (Actions)
-
Loop - Actions
- Set CV = (Custom value of (Picked unit))
- Unit - Add Day to Night to (Picked unit)
- Unit - Remove Day to Night from (Picked unit)
-
Loop - Actions
- Custom script: call DestroyGroup(udg_tempGroup)
-
Events