19ย years, 5ย months ago
Domain Expertise
Highlights
Community contributions featured19ย years, 5ย months ago
Quote:But this is a bad idea, because the TakeItem instance that you created would probably not outlive the NPC you assigned it to,Yes, this was my problem exactly.Thank you soโฆ
19ย years, 5ย months ago
Goal.h - This is the base class for storing NPCs' goals class Goal { private: Character *doer; Character *giver; //TODO --- Item rewards[3]; //TODO --- NEED fulfilled; public: Mโฆ
19ย years, 5ย months ago
Let's say I have a class called AClass, a STL vector called listOfSomeClass that's a list of variables of type someClass. class AClass { vector <someClass> listOfSomeClassโฆ
19ย years, 5ย months ago
In freeform games such as Morrowind or sandbox type games like GTA, they use a "main plot" to give the sense of progressing the game. This is also how you "finish" the game. I hโฆ
20ย years, 10ย months ago
Latest Activity
See all in DiscussionsQuote:But this is a bad idea, because the TakeItem instance that you created would probably not outlive the NPC you โฆ
19ย years, 5ย months ago
Nazrix is cool
19ย years, 5ย months ago
Goal.h - This is the base class for storing NPCs' goals class Goal { private: Character *doer; Character *giver; //TODO โฆ
19ย years, 5ย months ago