View Single Post
  #6  
Old 09-14-2012, 04:16 PM
ATAG_Colander ATAG_Colander is offline
Approved Member
 
Join Date: Jan 2012
Posts: 214
Default

Think of each class as a separate source file.
You can add between the class {}'s any function you want, just as you would on a source code.

So, you can copy the OnTickGame function and paste it inside the other's file "
public class Mission : AMission" and it will work.

Your only worry should be:
a) not have 2 functions with the same name (i.e. 2 OnTickGame's)
b) call the functions that are not called by the game from your code (i.e. isAiControlledPlane )
Reply With Quote