- Joined
- Aug 11, 2009
- Messages
- 594
I am using the relativistic missile system and trying to experiment with it. Basically what I want it to do is shoot an ice missile that when reaching its destination explodes into 8 smaller ice missiles. The problem is only 1 of these 8 are created. I have tried some different variations but nothing has worked so I am out of ideas.
Tried using "MissilePosition" as Start and Finish but didnt work. Made only the "Tour3_IcePoint" variable as Start and Finish, didnt work either. So this was the last attempt with 2 point variables xD
Tried using "MissilePosition" as Start and Finish but didnt work. Made only the "Tour3_IcePoint" variable as Start and Finish, didnt work either. So this was the last attempt with 2 point variables xD
-
CT13 Ice onFinish
- Events
- Conditions
-
Actions
- Set VariableSet Tour3_TempPoint = MissilePosition
-
For each (Integer Tour3_Loop[3]) from 1 to 8, do (Actions)
-
Loop - Actions
- Game - Display to (All players) the text: (String(Tour3_Loop[3]))
- Set VariableSet Tour3_IcePoint = Tour3_TempPoint
- Set VariableSet MissileStart = Tour3_IcePoint
- Set VariableSet MissileStartZ = 50.00
- Set VariableSet MissileFinish = (Tour3_IcePoint offset by 1000.00 towards (45.00 x (Real(Tour3_Loop[3]))) degrees.)
- Set VariableSet MissileFinishZ = 50.00
- Set VariableSet MissileModel = Abilities\Spells\Other\FrostBolt\FrostBoltMissile.mdl
- Set VariableSet MissileSpeed = 600.00
- Set VariableSet MissileSource = Tour_Boss[3]
- Set VariableSet MissileOwner = (Owner of MissileSource)
- Set VariableSet MissileCollision = 50.00
- Set VariableSet Missile_onHit = CT13 Ice onHit <gen>
- Set VariableSet Missile_onFinish = Missile Destroy onFinish <gen>
- Trigger - Run MissileCreate <gen> (ignoring conditions)
-
Loop - Actions
- Set VariableSet MissileDestroy = True
Last edited: