Read-only archive of the Armageddon Games Forums Archive (2000–2026) · About this archive

LItems

3 replies · 1,550 views · Started 28 April 2008

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?

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).