So your wanting to make the cursor click on an ability on the units command card automatically? Like having AI take over the control of the cursor or something?
I'm looking to add a couple "flash back" cutscenes into a map I'm working on. The question I have is with the Terrain. I need to have different Terrain for the cutscene that isn't in the map I'm working on. I was wondering if I was to make the cutscene on a different save with the Terrain as needed would I be able to load or import that cutscene into the map that I need it in?
For example: Lets say I have a map on Korhal but I need a cutscene from Char how would I go about doing that or is it even possible?
Um, I couldn't really make out exactly what you wanted but from what I did make out is that you want to be able to have a neutral structure that can load units as cargo and then change ownership to the unit that is currently loaded as cargo?
If so, take a look at this. Very simple trigger.
Untitled Trigger 001
Events
Unit - Any Unit Loads cargo
Local Variables
Conditions
Actions
Unit - Change ownership of (Triggering unit) to player (Owner of (Triggering cargo unit)) and Change Color
Initialization
Events
Game - Map initialization
Local Variables
Interger = 0 <Integer>
Conditions
Actions
Variable - Set Interger = (Random integer between 0 and 100)
General - If (Conditions) then do (Actions) else do (Actions)
If
Interger == 1
Then
Sound - Play Sound Link for (All players) (at 100.0% volume, skip the first 0.0 seconds)
Else
I've worked out a very simple possibility of doing this. Note I haven't tested anything.
I don't like just handing out fully working and efficient triggers since the best way to learn something is by figuring it out yourself, not copy pasting.
But here's something to give you a start.
Requirements: 1 Global Variable with the type as Unit to track which unit was first to enter the region so you can track who is currently in control.
Unit Enters Region
Events
Unit - Any Unit Enters (Entire map)
Local Variables
Conditions
Actions
Variable - Set Current Unit in Region = (Triggering unit)
General - Repeat (Actions) forever
Actions
General - Wait 30.0 Game Time seconds
Player - Modify player (Owner of (Triggering unit)) Minerals: Add 100
Unit Leaves Region
Events
Unit - Any Unit Leaves (Entire map)
Local Variables
Conditions
(Triggering unit) == Current Unit in Region
Actions
Trigger - Stop all instances of Unit Enters Region
I'm messing around in the editor and was wondering if it was possible to set the hero icon of the civilian to change depending on which variation of the texture is present just like how it's Art - Portrait changes.
0
@XxZeroxX: Go
So your wanting to make the cursor click on an ability on the units command card automatically? Like having AI take over the control of the cursor or something?
0
Very well done. I'm glad to see more people are taking risks and stepping things up a bit. +1 rep!
0
I'm looking to add a couple "flash back" cutscenes into a map I'm working on. The question I have is with the Terrain. I need to have different Terrain for the cutscene that isn't in the map I'm working on. I was wondering if I was to make the cutscene on a different save with the Terrain as needed would I be able to load or import that cutscene into the map that I need it in?
For example: Lets say I have a map on Korhal but I need a cutscene from Char how would I go about doing that or is it even possible?
0
I was wondering if there was a way to increases the brightness of the lighting without increasing the brightness of the game UI?
0
@DeepCover187:
Awesome, glad to help. :)
0
@Demtrod:
The wiki should have everything to explain that I believe. If not let me know which ones you are wondering about.
0
@darthuser3220:
Um, I couldn't really make out exactly what you wanted but from what I did make out is that you want to be able to have a neutral structure that can load units as cargo and then change ownership to the unit that is currently loaded as cargo?
If so, take a look at this. Very simple trigger.
Untitled Trigger 001
Events
Unit - Any Unit Loads cargo
Local Variables
Conditions
Actions
Unit - Change ownership of (Triggering unit) to player (Owner of (Triggering cargo unit)) and Change Color
0
@DeepCover187:
Here's how I would do something like this.
Initialization
Events
Game - Map initialization
Local Variables
Interger = 0 <Integer>
Conditions
Actions
Variable - Set Interger = (Random integer between 0 and 100)
General - If (Conditions) then do (Actions) else do (Actions)
If
Interger == 1
Then
Sound - Play Sound Link for (All players) (at 100.0% volume, skip the first 0.0 seconds)
Else
0
@staggy666
I've worked out a very simple possibility of doing this. Note I haven't tested anything.
I don't like just handing out fully working and efficient triggers since the best way to learn something is by figuring it out yourself, not copy pasting.
But here's something to give you a start.
Requirements: 1 Global Variable with the type as Unit to track which unit was first to enter the region so you can track who is currently in control.
Unit Enters Region
Events
Unit - Any Unit Enters (Entire map)
Local Variables
Conditions
Actions
Variable - Set Current Unit in Region = (Triggering unit)
General - Repeat (Actions) forever
Actions
General - Wait 30.0 Game Time seconds
Player - Modify player (Owner of (Triggering unit)) Minerals: Add 100
Unit Leaves Region
Events
Unit - Any Unit Leaves (Entire map)
Local Variables
Conditions
(Triggering unit) == Current Unit in Region
Actions
Trigger - Stop all instances of Unit Enters Region
0
From what I've seen in the trailer this looks better then any of the maps in top played or top rated right now. Looks amazingly well done.
0
@SoulFilcher: Go
Okay. Thanks for the reply.
0
I'm messing around in the editor and was wondering if it was possible to set the hero icon of the civilian to change depending on which variation of the texture is present just like how it's Art - Portrait changes.
0
Basically I have a Modify Unit effect to change the Height over 2 seconds. What I need is for that unit to also gain vision of the high ground.
Anyway to do this?
0
I'm in the middle of creating my own custom Talent System. This will be a very good tutorial to look at and see how things are done. Thanks.
0
@morgoth780:
You're welcome