Help with triggering
- DoomCarrot
- Posts: 3096
- Joined: Wed Mar 18, 2015 6:04 pm
- Location: Commanding General's quarters, a tall keep above the mighty city of Carrot's Point
Help with triggering
Ok, so I'm coming across an issue in my next campaign map...
The enemy is supposed to attack sneakily. Thus, the map is on (fog). However, the ally AI is somehow able to sense the presence of enemies in the woods, and moves their forces towards the hidden troops, giving away the enemy's position to the player.
Thus, is there any sort of trigger or way to keep AI from "seeing" through fog? Just curious. If not, I'll find a workaround, butnthis is irritating me.
The enemy is supposed to attack sneakily. Thus, the map is on (fog). However, the ally AI is somehow able to sense the presence of enemies in the woods, and moves their forces towards the hidden troops, giving away the enemy's position to the player.
Thus, is there any sort of trigger or way to keep AI from "seeing" through fog? Just curious. If not, I'll find a workaround, butnthis is irritating me.
The day is coming when a single carrot, freshly observed, will set off a revolution.
Re: Help with triggering
Not that I know of -
Maybe if you disable them until the enemy is within a certain area?
Maybe if you disable them until the enemy is within a certain area?
Thanks!
Josh
Josh
-
- Site Admin
- Posts: 15734
- Joined: Fri Apr 25, 2014 9:28 pm
Re: Help with triggering
or do not put enemy there until you want them to be seen.
Re: Help with triggering
+1 better ideaDaniel (the dev) wrote:or do not put enemy there until you want them to be seen.
Thanks!
Josh
Josh
- DoomCarrot
- Posts: 3096
- Joined: Wed Mar 18, 2015 6:04 pm
- Location: Commanding General's quarters, a tall keep above the mighty city of Carrot's Point
Re: Help with triggering
Duh.
Thanks, Daniel. TBF, it was late at night when I was struggling with this. My processing speed wasn't at 100%
Thanks, Daniel. TBF, it was late at night when I was struggling with this. My processing speed wasn't at 100%
The day is coming when a single carrot, freshly observed, will set off a revolution.
-
- Posts: 767
- Joined: Wed Mar 30, 2016 8:41 am
Re: Help with triggering
You can disable them first so they can't move and attack.Then you can set "objs in area""objs enable".
Another method is spawn emeny units"create objs in area" when your objs in certain area.
Or you can just change emeny objs speed.
I find sth interesting.Even I change all emeny sight be 0,they all become blind but they still can move towards you.
Another method is spawn emeny units"create objs in area" when your objs in certain area.
Or you can just change emeny objs speed.
I find sth interesting.Even I change all emeny sight be 0,they all become blind but they still can move towards you.
- DoomCarrot
- Posts: 3096
- Joined: Wed Mar 18, 2015 6:04 pm
- Location: Commanding General's quarters, a tall keep above the mighty city of Carrot's Point
Re: Help with triggering
Exactly, sight does not affect the AI. Even if you have one disabled enemy unit in the corner of the map, the AI will move straight towards it.
AI have radar.
AI have radar.
The day is coming when a single carrot, freshly observed, will set off a revolution.
- DoomCarrot
- Posts: 3096
- Joined: Wed Mar 18, 2015 6:04 pm
- Location: Commanding General's quarters, a tall keep above the mighty city of Carrot's Point
Re: Help with triggering
Ok, it seems that (Eff. Change Obj. Armor/HP/Attack) triggers don't work. I have tried all three, double checked to make sure they are all good, and none of them work. However, change obj. name works fine. Anyone else have this issue?
The day is coming when a single carrot, freshly observed, will set off a revolution.
-
- Posts: 767
- Joined: Wed Mar 30, 2016 8:41 am
Re: Help with triggering
seems no problem.
- DoomCarrot
- Posts: 3096
- Joined: Wed Mar 18, 2015 6:04 pm
- Location: Commanding General's quarters, a tall keep above the mighty city of Carrot's Point
Re: Help with triggering
Ok, I'm going to try to redo the trigger and see if I can get it working. If not I'll take screenshots for proof lol.
The day is coming when a single carrot, freshly observed, will set off a revolution.
-
- Posts: 1
- Joined: Sun Aug 21, 2016 12:14 am
Re: Help with triggering
I was very excited(and over ambitious) when I saw triggers....I wanted to make a maze were enemies would trigger as you walk spun and story was rescuing your brother from abandoned house... I just couldn't get triggering to work as expected
-
- Posts: 767
- Joined: Wed Mar 30, 2016 8:41 am
Re: Help with triggering
Walk spun:Can be done by using obj in area condition.merwin352@gmail.com wrote:I was very excited(and over ambitious) when I saw triggers....I wanted to make a maze were enemies would trigger as you walk spun and story was rescuing your brother from abandoned house... I just couldn't get triggering to work as expected
Maze:Difficult because AI is not too clever. Maybe can activate disable emenies to move and atk when you step in certain area and change your sight smaller?
- DoomCarrot
- Posts: 3096
- Joined: Wed Mar 18, 2015 6:04 pm
- Location: Commanding General's quarters, a tall keep above the mighty city of Carrot's Point
Re: Help with triggering
RPG-like campaign maps are certainly doable with the trigger system. What you said could certainly be done, it would just take a while.
You could even have findable items to change your character type, or make your character level up when you kill enemies. The trigger system is actually very great.
You could even have findable items to change your character type, or make your character level up when you kill enemies. The trigger system is actually very great.
The day is coming when a single carrot, freshly observed, will set off a revolution.
-
- Posts: 25
- Joined: Sat Sep 10, 2016 8:27 am
- Contact: