Hello!
The game I´m working on right know requires the feature to let the player create a new “country”. This isen´t a visible object, it just exists in code and strings. So lets say I have a script called “canada.cs” with all its variables and such.
The player press a button that triggers something like this:
myCountry = new canada();
Of course this is just some psuedo code, I really don´t know if this is the right way to do this. Every country have different properties and variables too, so I can´t just do canada = new country();
either.
Well, I guess my question is a bit unclear, but if every country have a script and when that country gets created, I can use the that scripts properties to print something like “You discovered Canada”.
I would really appreciate some help here If something is unclear, just ask me!
Regards!