Special effect on map

Status
Not open for further replies.
Level 3
Joined
Oct 25, 2007
Messages
26
Hi,

I have one question for you my GODLIKE modders.
I want to do rain of infernal meteors as special effect after one special unit is destroyed.
I have prepared EVENT - Specific Unit Dies....and now i want to set special effects "Infernal Meteor" to rain over the map for 10 seconds....
Is this possible?
I can only create one meteor in region (whole map or more smallers region)...but i want to see this meteors falls more than once.

Please someone can help?
 
Trigger for you

Here is my triggering for it. It involves 2 triggers, is much more condensed then long code, and uses 2 variables;

- Counter(Integer Variable)
- TrapLoc(Point Variable) Which is to set random effect spawns



This trigger is to activate the other meteor trigger, which is set to INITIALLY OFF
  • Death
    • Events
      • Unit - A unit Dies
    • Conditions
      • (Unit-type of (Dying unit)) Equal to Paladin
    • Actions
      • Trigger - Turn on Meteor <gen>
This is the trigger that creates the effects
  • Meteor
    • Events
      • Time - Every 1.00 seconds of game time
    • Conditions
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • Counter Less than 10
        • Then - Actions
          • Set Counter = (Counter + 1)
          • Set TrapLoc = (Random point in YourRegion <gen>)
          • Special Effect - Create a special effect at TrapLoc using Units\Demon\Infernal\InfernalBirth.mdl
          • Special Effect - Destroy (Last created special effect)
          • Custom script: call RemoveLocation(udg_TrapLoc)
        • Else - Actions
          • Trigger - Turn off (This trigger)
Remember:
In the trigger editor turn the Meteor Trigger Initially Off, so right click it and untick it.
 
Status
Not open for further replies.
Back
Top