What is the best way to fire a Trigger within an If-then clause.
I have a cinematic I want to fire once your Hero Unit reaches another unit/region.
I was trying to mess around with the region appearing during another trigger as I don't want it to fire prematurely, but no luck.
Anyways, there isn't a lot of code to show and that really is the gist of it. I want the hero unit to walk up to another unit and it fires a cinematic. I also want the hero unit to be able to walk around the area and not fire the trigger until later in the game.
Hey guys,
What is the best way to fire a Trigger within an If-then clause.
I have a cinematic I want to fire once your Hero Unit reaches another unit/region.
I was trying to mess around with the region appearing during another trigger as I don't want it to fire prematurely, but no luck.
Anyways, there isn't a lot of code to show and that really is the gist of it. I want the hero unit to walk up to another unit and it fires a cinematic. I also want the hero unit to be able to walk around the area and not fire the trigger until later in the game.
@Hockleberry: Go actions
Repeat forever:
wait 0.1
IF - unit is in region or distance between units is 0.5
THEN - Stuffs
ELSE