Grok, I think Mad said
not world DETONATION!
But I like it though
.
Quote from: Mad on Sun 11/10/2015 08:51:18
... world domination!
not world DETONATION!


This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts MenuQuote from: Mad on Sun 11/10/2015 08:51:18
... world domination!
Quote from: Mandle on Sat 03/10/2015 14:16:24
(I think the game works that the current situation can continue from the previous person's question so I will continue on from this point...)
Quote from: Crimson Wizard on Tue 01/07/2014 19:37:32
BASIC on ZX Spectrum (aka Sinclair), then QBasic under MS DOS, then began to self teaching myself C++ using books borrowed from my friend (this reminds me, I never actually returned them back, lol).
Quote from: Calin Leafshade on Sat 03/05/2014 22:15:07
How about this instead:Code: lua hHotspot1.UseInv = { [iFoo] = function() player:Say("I don't think I should use the foo with that") end, [iBar] = function() player:Say("Gee, I shouldn't really use the bar with that.") end } --now call it in your main game code: local func = hHotspot1.UseInv[player.ActiveInventory] or unhandled -- unhandled is our generic "that doesnt work" function func() -- call the function
Much neater, and the act of using an inventory item with a hotspot is more clearly defined without a bazillion if/else statements.
Quote from: miguel on Sat 03/05/2014 00:29:58
Well-well-well, Jaineshon! Such a young creature already involved in the arts of adventuring making! That makes me both jealous and optimistic!![]()
I wish you the best of luck with this project. Stick to it, do what you want and what you must.
cNorman.health = 50;
cGuy.health = 50;
cPerson.health = 50;
struct NPCHealth
{
int health;
};
NPCHealth NPC[10];
// after some line of code...
NPC[0].health = 50;
NPC[1].health = 50;
By continuing to use this site you agree to the use of cookies. Please visit this page to see exactly how we use these.
Page created in 0.083 seconds with 19 queries.