Fulqrum Publishing Home   |   Register   |   Today Posts   |   Members   |   UserCP   |   Calendar   |   Search   |   FAQ

Go Back   Official Fulqrum Publishing forum > Fulqrum Publishing > Men of War > GEM Editor

GEM Editor All information about MoW map editor

Reply
 
Thread Tools Display Modes
  #1  
Old 09-01-2009, 04:14 PM
samedi samedi is offline
Approved Member
 
Join Date: Jul 2009
Posts: 49
Default question about triggers and effects

Hello i have a problem on the gem editor, for example i want a trigger that says "if this unit is to die then this squad should come to replace them, i put the reinforcement squad a tag and "hidden" but i dont know the condition i need to put in that says if this unit is to die then this squad move to replace them and if that squad is to die an exact replicate of that squad should replace them please help me

Last edited by samedi; 09-01-2009 at 04:17 PM.
Reply With Quote
  #2  
Old 10-10-2009, 09:46 PM
samedi samedi is offline
Approved Member
 
Join Date: Jul 2009
Posts: 49
Default

ok i take it no one here knows about triggers and how to use them
Reply With Quote
  #3  
Old 10-31-2009, 12:08 AM
Manic_Mechanic's Avatar
Manic_Mechanic Manic_Mechanic is offline
Approved Member
 
Join Date: Oct 2009
Location: United States
Posts: 15
Default

The condition you're looking for is entities. You cas use the feilds to narrow what entities the condition looks for. The easiest way to do what you're talking about is to tag all the members of the squad and choose the tag in the "entities" command.


Next you need to choose a state. In this case I'm pretty sure you're looking for dead. Set the "count" option to the equals sign and the "value" to the number of men in your squad. Now, when all the men are dead, the condition will be met and the trigger will activate.


If you want this replacement squad to be replaced in turn if they die too, you'll need to use a pair of "entity_state" commands in the trigger, one to remove the tag from the dead squad and the second to give that tag to this new squad. Then add a "trigger" command so that the trigger will turn it'self off after it activates, allowing it to be activated again after the new squad dies.

Hope that helps, just let me know if you have any other questions or need clarification on something.

Last edited by Manic_Mechanic; 10-31-2009 at 12:10 AM. Reason: forgot a detail
Reply With Quote
  #4  
Old 11-06-2009, 11:12 PM
samedi samedi is offline
Approved Member
 
Join Date: Jul 2009
Posts: 49
Default

thanks so much
Reply With Quote
  #5  
Old 11-10-2009, 04:45 AM
Manic_Mechanic's Avatar
Manic_Mechanic Manic_Mechanic is offline
Approved Member
 
Join Date: Oct 2009
Location: United States
Posts: 15
Wink

No problem. Just post if you have any other questions.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:45 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2007 Fulqrum Publishing. All rights reserved.