Jump to content

Photo

How do I code if Link->PressR Kill All Enemies item is at Link


  • Please log in to reply
1 reply to this topic

#1 LikeLike888

LikeLike888

    Spicy food lover!!

  • Members
  • Real Name:Jason
  • Location:North America

Posted 16 September 2019 - 09:04 AM

How do I properly code
if Link->PressR
Make a Kill All Enemies item appear at Link's X and Y position please? Thank you.

#2 Emily

Emily

    Scripter / Dev

  • ZC Developers

Posted 25 September 2019 - 12:36 AM

if(Link->PressR)
{
    CreateItemAt(ITEM_ID, Link->X, Link->Y);
}

replacing 'ITEM_ID' with the number of the item you want to spawn




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users