lindenkron
You can change this now in User CP
- Reaction score
- 102
Trigger:
- Unit - Change ownership of (Last created unit) to (Player((Custom value of (Item being manipulated)))) and Change color
Edit:
Post #13 has a shortterm explanation if you dont want to read the triggers before you know what I'm trying to achieve.
I narrowed it down, this crashes my game. Need the full trigger? let me know.
Anyone know the reason?
EDIT:
Full triggers;
Trigger:
- PlaceC4New
- Events
- Unit - A unit Uses an item
- Conditions
- Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- (Item-type of (Item being manipulated)) Equal to Small C4
- Then - Actions
- Wait 0.10 seconds
- Unit - Create 1 Explosive C4 (Small) for (Owner of (Triggering unit)) at TempPoint[(Player number of (Owner of (Triggering unit)))] facing Default building facing degrees
- Unit - Change ownership of (Last created unit) to (Player((Custom value of (Item being manipulated)))) and Change color
- Unit - Make (Last created unit) Invulnerable
- For each (Integer A) from 1 to 36, do (Actions)
- Loop - Actions
- Wait 0.05 seconds
- Set TempPoint2[(Player number of (Owner of (Hero manipulating item)))] = (TempPoint[(Player number of (Owner of (Hero manipulating item)))] offset by 300.00 towards ((Real((Integer A))) x 10.00) degrees)
- Special Effect - Create a special effect at TempPoint2[(Player number of (Owner of (Hero manipulating item)))] using Abilities\Spells\Human\SpellSteal\SpellStealMissile.mdl
- Set SaveSpecialEffect[((Player number of (Owner of (Hero manipulating item))) + ((Integer A) x 12))] = (Last created special effect)
- Custom script: call RemoveLocation(udg_TempPoint2[GetConvertedPlayerId(GetOwningPlayer(GetManipulatingUnit()))])
- Loop - Actions
- Else - Actions
- Do nothing
- If - Conditions
- Custom script: call RemoveLocation(udg_TempPoint[GetConvertedPlayerId(GetOwningPlayer(GetManipulatingUnit()))])
- Custom script: call RemoveLocation(udg_TempLocation)
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- Events
Trigger:
- CreateC4Point
- Events
- Unit - A unit Starts the effect of an ability
- Conditions
- Or - Any (Conditions) are true
- Conditions
- (Item-type of (Target item of ability being cast)) Equal to Small C4
- Conditions
- Or - Any (Conditions) are true
- Actions
- Set TempLocation = (Target point of ability being cast)
- Set TempPoint[(Player number of (Owner of (Triggering unit)))] = TempLocation
- Wait 0.10 seconds
- Events
Me and swe_suffer have been trying to figure this out for a while now
Edit:
Post #13 has a shortterm explanation if you dont want to read the triggers before you know what I'm trying to achieve.