Just saw the 'Exact Trigger' link. That was where I got it from. Thank you for finding it for me. I couldn't find the damn thing, so decided to just post it and let everyone know that I am not the original creator.
Thanks for the tips. I don't have any pics that i could probably use, that is why there was a lot of text going through this tutorial. thank you though. will remember that for the next time.
Found this a while ago, and haven't ran across anything lately, so figured this update may help others. I am writing this with memory so comments and updates will be grateful. I would have a better understanding of this trigger if my computer didn't get fried a week ago. This is based on your unit entering/leaving a certain amount of distance of another unit (Gate). This is also my first tutorial.
Go to File > Dependencies.
Click 'Add Dependencies' and check the box(es) next to 'Liberty Story (Campaign)' and 'Liberty (Campaign)'.
Press 'Ok' and 'Ok' again.
Go to 'Unit Palette' and in the 'Search' field, type 'Gate' (w/ No Filters).
Use the first gate (For this tutorial) since it is already lowered (AKA - Open Gate).
Place the gate anywhere on the map (Or specific area if using for a Project).
Open the 'Data Module' (F7).
Change the 'Data Type' to 'Buttons'.
Click on the 'Search' field and type 'Open Gate'.
Right-Click the button and copy it (or Ctrl-C).
Right-Click in the blank area and click paste (or Ctrl-V).
Right-Click on your Copied Button and click 'Modify Object'.
Change to these specifications:
---------------------------------------------------------------------------------------------------------------------------------------
Name: Close Gate
ID: CloseGate
Button Type: Generic
Based On: CButton
Race: Neutral
Field Values: Do Not Change
When finished, press 'Ok' and close the 'Data Module'.
Open the 'Trigger Module' (F6).
Create a new 'Trigger' and name it 'Open Gate'.
It should look like this:
_____________________________________________________________________________
(Aid in Finding Appropriate Events, Local Variables, Conditions and Actions)
Open Gate
Events: Unit - Unit Enters/Leaves Range of Unit
Local Variables: N/A
Conditions: N/A
Actions: Issue Order
Open Gate
Events: Unit - Any Unit Enters a Distance of 2.0 from Gate (Your Previous Placed Unit)
Local Variables: N/A
Conditions: N/A
Actions: Unit - Order Gate to (*Open Gate*) (Replace Existing Orders)
* Note - Make sure the 'Open Gate' Order has the same Unit - Type as your Gate.
---------------------------------------------------------------------------------------------------------------------------------------
Create a new 'Trigger' and name it 'Close Gate'.
It should look like this:
Close Gate
Events: Unit - Unit Enters/Leaves Rang of Unit
Local Variables: N/A
Conditions: N/A
Actions: Issue Order
---------------------------------------------------------------------------------------------------------------------------------------
(Make it like this)
Close Gate
Events: Unit - Any Unit Leaves a Distance of 2.0 from Gate (Your Previous Placed Unit)
Local Variables: N/A
Conditions: N/A
Actions: Unit - Order Gate to (Close Gate) (Replace Existing Orders)
_____________________________________________________________________________
Final Step:
Test your new 'Open/Close Gate' Triggers. Place a Unit on the Map and have them toward the gate, and away from the gate. If done correctly, the gate should open and close when your Unit enters or leaves the written distance from the gate.
_____________________________________________________________________________
I hope that this was helpful to everyone. I do not take full credit for this post/tutorial. I was trying my best to just go off of memory from a post that I have seen a while ago through another site. They deserve most credit. This is my first posted tutorial, so be easy with the comments and what-not. I hope that this tutorial was helpful to you all.
_____________________________________________________________________________
Side Note:
The trigger 'Does Not' have to activate only with entering/leaving a distance from the unit. It can be used in many ways. Such as:
Close Gate
Events: Unit - Any Unit Enters Region
Local Variables: N/A
Conditions: N/A
Actions: Unit - Order Gate to (Close Gate) (Replace Existing Orders)
---------------------------------------------------------------------------------------------------------------------------------------
// Then
---------------------------------------------------------------------------------------------------------------------------------------
Open Gate
Events: Unit - Any Unit (Preferably An Enemy Unit) Dies
Local Variables: N/A
Conditions: N/A
Actions: Unit - Order Gate to (Open Gate) (Replace Existing Orders)
_____________________________________________________________________________
I have a map that is available for use. The terrain is completed, just have to add a few doodads, and very little more details until completed fully. Here is a short description of the map.
Based on Bel'Shir
Full - 256x256
Playable - 256x256
The map was intended to be used for a single Hero RPG, walking through the world where they will gain experience points, level up, shop, etc. I was hoping to have it done, but do to my school schedule and everything else on top of that, I have no time to do anything any longer.
All I ask is that when you request to use the terrain for your own doing, please give my the Credit that I deserve for the Terrain modeling. Thank you! :)
0
@DarlD: Go
Just saw the 'Exact Trigger' link. That was where I got it from. Thank you for finding it for me. I couldn't find the damn thing, so decided to just post it and let everyone know that I am not the original creator.
0
@DarlD: Go
Thanks for the tips. I don't have any pics that i could probably use, that is why there was a lot of text going through this tutorial. thank you though. will remember that for the next time.
0
Found this a while ago, and haven't ran across anything lately, so figured this update may help others. I am writing this with memory so comments and updates will be grateful. I would have a better understanding of this trigger if my computer didn't get fried a week ago. This is based on your unit entering/leaving a certain amount of distance of another unit (Gate). This is also my first tutorial.
_____________________________________________________________________________
Step One:
Go to File > Dependencies.
Click 'Add Dependencies' and check the box(es) next to 'Liberty Story (Campaign)' and 'Liberty (Campaign)'.
Press 'Ok' and 'Ok' again.
_____________________________________________________________________________
Step Two:
Go to 'Unit Palette' and in the 'Search' field, type 'Gate' (w/ No Filters).
Use the first gate (For this tutorial) since it is already lowered (AKA - Open Gate).
Place the gate anywhere on the map (Or specific area if using for a Project).
_____________________________________________________________________________
Step Three:
Open the 'Data Module' (F7).
Change the 'Data Type' to 'Buttons'.
Click on the 'Search' field and type 'Open Gate'.
Right-Click the button and copy it (or Ctrl-C).
Right-Click in the blank area and click paste (or Ctrl-V).
Right-Click on your Copied Button and click 'Modify Object'.
Change to these specifications:
---------------------------------------------------------------------------------------------------------------------------------------
Name: Close Gate
ID: CloseGate
Button Type: Generic
Based On: CButton
Race: Neutral
Field Values: Do Not Change
When finished, press 'Ok' and close the 'Data Module'.
_____________________________________________________________________________
Step Four:
Open the 'Trigger Module' (F6).
Create a new 'Trigger' and name it 'Open Gate'.
It should look like this:
_____________________________________________________________________________
(Aid in Finding Appropriate Events, Local Variables, Conditions and Actions)
Open Gate
Events: Unit - Unit Enters/Leaves Range of Unit
Local Variables: N/A
Conditions: N/A
Actions: Issue Order
---------------------------------------------------------------------------------------------------------------------------------------
(Make it like this)
Open Gate
Events: Unit - Any Unit Enters a Distance of 2.0 from Gate (Your Previous Placed Unit)
Local Variables: N/A
Conditions: N/A
Actions: Unit - Order Gate to (*Open Gate*) (Replace Existing Orders)
* Note - Make sure the 'Open Gate' Order has the same Unit - Type as your Gate.
---------------------------------------------------------------------------------------------------------------------------------------
Create a new 'Trigger' and name it 'Close Gate'.
It should look like this:
---------------------------------------------------------------------------------------------------------------------------------------
Close Gate
Events: Unit - Unit Enters/Leaves Rang of Unit
Local Variables: N/A
Conditions: N/A
Actions: Issue Order
---------------------------------------------------------------------------------------------------------------------------------------
(Make it like this)
Close Gate
Events: Unit - Any Unit Leaves a Distance of 2.0 from Gate (Your Previous Placed Unit)
Local Variables: N/A
Conditions: N/A
Actions: Unit - Order Gate to (Close Gate) (Replace Existing Orders)
_____________________________________________________________________________
Final Step:
Test your new 'Open/Close Gate' Triggers. Place a Unit on the Map and have them toward the gate, and away from the gate. If done correctly, the gate should open and close when your Unit enters or leaves the written distance from the gate.
_____________________________________________________________________________
I hope that this was helpful to everyone. I do not take full credit for this post/tutorial. I was trying my best to just go off of memory from a post that I have seen a while ago through another site. They deserve most credit. This is my first posted tutorial, so be easy with the comments and what-not. I hope that this tutorial was helpful to you all.
_____________________________________________________________________________
Side Note:
The trigger 'Does Not' have to activate only with entering/leaving a distance from the unit. It can be used in many ways. Such as:
_____________________________________________________________________________
Close Gate
Events: Unit - Any Unit Enters Region
Local Variables: N/A
Conditions: N/A
Actions: Unit - Order Gate to (Close Gate) (Replace Existing Orders)
---------------------------------------------------------------------------------------------------------------------------------------
// Then
---------------------------------------------------------------------------------------------------------------------------------------
Open Gate
Events: Unit - Any Unit (Preferably An Enemy Unit) Dies
Local Variables: N/A
Conditions: N/A
Actions: Unit - Order Gate to (Open Gate) (Replace Existing Orders)
_____________________________________________________________________________
Hmm... I had a lot of coffee...
0
I have a map that is available for use. The terrain is completed, just have to add a few doodads, and very little more details until completed fully. Here is a short description of the map.
Based on Bel'Shir Full - 256x256 Playable - 256x256
The map was intended to be used for a single Hero RPG, walking through the world where they will gain experience points, level up, shop, etc. I was hoping to have it done, but do to my school schedule and everything else on top of that, I have no time to do anything any longer.
All I ask is that when you request to use the terrain for your own doing, please give my the Credit that I deserve for the Terrain modeling. Thank you! :)