PDA

View Full Version : LItems



Master Maniac
04-28-2008, 06:03 PM
how do i give link items? i know how to check if theyre there... im pretty sure...

if(Link->LItem[x]){
this checks if he has a certain itme, yes?

problem is, i fail to understand how to give him an item. can someone help me?

Joe123
04-28-2008, 06:07 PM
if(Link->Item[itemid]){}
To check

Link->Item[itemid] = true;
To give

Link->Item[itemid] = false;
To remove


Remember that it will not work for level items, nor will it work for collectables (such as heart containers).

Master Maniac
04-28-2008, 06:13 PM
thanks joe =) youre lots of help lol

Joe123
04-28-2008, 06:15 PM
That's alright.
Glad to help.