View Single Post
  #7  
Old 08-08-2011, 05:17 PM
fearlessfrog fearlessfrog is offline
Approved Member
 
Join Date: Jul 2010
Posts: 64
Default

Quote:
Originally Posted by 41Sqn_Banks View Post
I managed to register a method to the Chat event of the GameDef class. However I don't think it's possible to access GameDef from the mission script.

I can do this however from within my addin.
Hmm, perhaps I should be doing an add-in then. My original question was really for just single player functionality, and I thought putting it in a mission script would be the way to go.

I see you implemented an Add-In interface in your campaign stuff Banks - does that also run while a mission is being played, i.e. I could hook into the Chat event while a mission is playing if I write an Add-in?

Thanks for your comments/help btw
Reply With Quote