ianu74
New Member
- Reaction score
- 8
Can anyone help me with this?
There's 2 spells causing major lag in my game,
And all the triggers affecting it are here.
Basically these 2 spells are the ones causing a major lag for like 10 seconds when they are used more than once.(not all at once).
Is it a problem with the trigger?
There's 2 spells causing major lag in my game,
And all the triggers affecting it are here.
BulletSpray
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Bullet Spray
Actions
For each (Integer A) from 1 to (3 x (Level of Bullet Spray for (Triggering unit))), do (Actions)
Loop - Actions
Unit - Create 1 Dummy Unit for (Owner of (Triggering unit)) at (Position of (Triggering unit)) facing Default building facing degrees
Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
Unit - Order (Last created unit) to Attack Ground ((Target point of ability being cast) offset by (Random real number between 10.00 and 290.00) towards (Random angle) degrees)
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Bullet Spray
Actions
For each (Integer A) from 1 to (3 x (Level of Bullet Spray for (Triggering unit))), do (Actions)
Loop - Actions
Unit - Create 1 Dummy Unit for (Owner of (Triggering unit)) at (Position of (Triggering unit)) facing Default building facing degrees
Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
Unit - Order (Last created unit) to Attack Ground ((Target point of ability being cast) offset by (Random real number between 10.00 and 290.00) towards (Random angle) degrees)
Hells Arrow
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Hell's Arrow (Neutral Hostile 1)
Actions
Unit - Create 1 Dummy Unit for (Owner of (Triggering unit)) at (Position of (Triggering unit)) facing Default building facing degrees
Unit - Add Shake (Neutral Hostile) to (Last created unit)
Unit - Add a 5.00 second Generic expiration timer to (Last created unit)
Unit - Order (Last created unit) to Orc Far Seer - Earthquake (Target point of ability being cast)
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Hell's Arrow (Neutral Hostile 1)
Actions
Unit - Create 1 Dummy Unit for (Owner of (Triggering unit)) at (Position of (Triggering unit)) facing Default building facing degrees
Unit - Add Shake (Neutral Hostile) to (Last created unit)
Unit - Add a 5.00 second Generic expiration timer to (Last created unit)
Unit - Order (Last created unit) to Orc Far Seer - Earthquake (Target point of ability being cast)
Is it a problem with the trigger?