Hey, got my feet wet with some OOP lately and this is literally the like third day of my doing stuff with OOP and all say ive been struggling to wrap my head around a all round good mission system for my upcoming game and, I’ve just been doing slme testing and it’s going so well, I plan to open source it some time in the future, It doesnt use actual instances, it’s all neatly confined into a script!
I have different types of mission that function differently, currently I just have one and that’s a “kill” mission constructor, which takes in different info from other missions I’ll make etc.
I first alert my mission using this method I created!
M:AlertMission("The Deed.", "Story", "Kill all the bad dummies!", "Example", 0, 5)
For the “kill” mission type it takes in 6 different types of data.
Those are, the quest name, quest type, quest description, progression and the amount of things you need to kill!
Using the information I setup, I can track what stage the player is in the quest, and do so many different things with it.
Anyways here it is in action!