How do you give projects to player via lua

ww2commander

Emperor
Joined
Aug 23, 2003
Messages
1,243
Location
Australia
For some reason this one has me confused!

How do I go about giving a player a project via lua?

I need to write some code that provides projects to each player based on the current turn.
 
team:ChangeProjectCount(projectID, 1)
 
I can see why that would be easily missed given the name of the function!

I was looking for something like SetProject etc.

Thanks for the prompt response :hatsoff:
 
Back
Top Bottom