Hey Aino, this is how the messages are run in other levels of the iPad, so I decided to use it, and it's worked for messages...
if IsiOS() then
SelectionClear()
WaitReal(2)
SetLevelDim(true)
Message("01_DARK", true, 1.0, "Top")
WaitMessage(true)
SetLevelDim(false)
SetCameraPosition(-800,0)
SetCameraZoom(1000)
else
MessageBox("01_01")
WaitDialog()
end
--
-- Mission text
--
if IsiOS() then
WaitReal(2)
Message("01_SPRAWL", true, 1.0, "Left")
WaitMessage(true)
SetEnemyInfoAvailable(true)
SetCoreInfoAvailable(true)
SetAttribsInfoAvailable(true)
SetTreeInfoAvailable(true)
else
MessageBox("01_02")
WaitDialog()
end
if IsiOS() then
WaitReal(2)
Message("01_SEEDLING", true, 1.0, "Left")
WaitMessage(true)
SetCameraZoom(2000)
SetCameraPosition(300,0)
else
MessageBox("01_02")
WaitDialog()
end
if IsiOS() then
SetDysonTreeButtonAvailable(true)
WaitReal(2)
Message("01_DYSON", true, 1.0, "Right")
WaitMessage(true)
else
MessageBox("01_02")
WaitDialog()
end
For example were it says Message("01_DYSON", true, 1.0, "Right")
it's refering to another file called lang.csv which is full of text, which literally relates to all the text, I could change every text I wanted to.
01_DYSON Click the Asteroid,~Plant four Dyson Trees.
Taken from the land.csv file
The only problem now I face is that I wanted the user to plant 4 dyson tree's and then when the 4 dyson trees are planted a message pops up
e.g
Message("01_DYSON", true, 1.0, "Right")
Do i need to add something at the start of LevelLogic() like GetEmpire(1):UpdateNumDysonTrees