As i see u want ppl to check ur Asc thread or ?
Maybe im mistaken, but u called for if state open/closed and used depart and arivee. Dont think that can work *. And is time a predefined variable ?
*U will need to link to a thread where its defined when its state open and state closed.
Oh another thing
CreateAsc(depart, arivee, angle, time)
CreateAsc((1060.82,1173.72,141.214), (940.837,1481.67,466.945), 0, 5);
Im guessing that 0 should be the angle... Then it would need to look like this:
CreateAsc((1061,1174,141), (941,1482,467), (0,0,0), 5);