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
  • Gender:Male
  • Location:North America

Posted 16 September 2019 - 08: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 venrob

venrob

    Scripter / Dev

  • ZC Developers
  • Real Name:Rob
  • Gender:Male

Posted 24 September 2019 - 11:36 PM

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

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




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users