- Joined
- Mar 1, 2013
- Messages
- 555
I downloaded a missile system because my own system clearly won't work at all. After importing it, the program said that it expected a name somewhere in the trigger. I searched it through and found the problem.
So I looked each variable carefully through 3 times and I can tell you that I am 100% sure that every variable used in this script does exist. It doesn't give this error in the original map so why doesn't it work in mine?
EDIT: Ok I'll copy and paste the varibles so you can see for yourselfs:
MS_tempreal - array of real
MS_MissileH2 - array of real
MS_Integer - array of integer
MS_distance - array of real.
I deleted the triggers and imported them again. samre results....
-
Untitled Trigger 002
- Events
- Conditions
-
Actions
- Custom script: set udg_MS_tempreal[2] = ParabolaZ(udg_MS_MissileH2[udg_MS_Integer[3]],udg_MS_tempreal[1],udg_MS_distance[udg_MS_Integer[3]])
EDIT: Ok I'll copy and paste the varibles so you can see for yourselfs:
MS_tempreal - array of real
MS_MissileH2 - array of real
MS_Integer - array of integer
MS_distance - array of real.
I deleted the triggers and imported them again. samre results....
Last edited: