Is there a way i can get Dizzy to NOT pick up a collectible if his already holding 5? I'm using collectibles to remove baddies and blockers (5 each) but if the player has more than 5 it just causes an error. So if i can prevent him of picking up any more once he gets 5 things should work ok.
Unless theres an alternative way round.
ps. All the puzzles are complete, i've just got all the extras to do such as baddies, HUD and stuff like that. I hope it have ti ready for testing by April. :teethy:
Meph, not sure what you mean. The normal method to restrict the maximum inventory items is to set the Maxinventory line in the gamedef file to '5'. But not sure whether you mean that the max inventory is more than five, and that five specific collectibles affect each baddie/blocker, or that five of the same collectible such as 'jewels' affect each baddie/blocker and you need to remove five of them when you disable a baddie/blocker.
Could you be a bit more specific ...and say what the error is.
5 coins will kill a ghost, but if you have more than 5 and touch tghostust the game just has a fit. So i need to prevent Dizzy (zaks) from carrying more then 5 if possible.
Spot on Entropy. I'll only add one insy suggestion. As the stars are removing baddies and blocks, perhaps adding the line: SamplePlay(FX_SUCCESS); would add that little extra touch.
This discussion is read-only.Browse the replies or return to the forum category.Back to forum