Jump to content

Photo

Give stuff get stuff


  • Please log in to reply
4 replies to this topic

#1 lincolnpepper

lincolnpepper

    epic gamer

  • Members
  • Real Name:Lincoln
  • Location:null island

Posted 01 March 2017 - 02:38 PM

I'm making a room where you have to find 10 gold ingots and he will either clear the path for you to get an item, or give you the item directly. But I have no clue how to do this without zscript. Is it possible without zscript, and if it is only possible with z script, what does my script need to be?

#2 MoscowModder

MoscowModder

    Sometimes lurking. Rarely posting.

  • Members
  • Location:Wisconsin

Posted 01 March 2017 - 02:57 PM

Are all the ingots on the same screen? How are they hidden?

#3 lincolnpepper

lincolnpepper

    epic gamer

  • Members
  • Real Name:Lincoln
  • Location:null island

Posted 01 March 2017 - 03:13 PM

The ingots are hidden across the overworld in caves, but idk how to set the amount you've collected with a variable without using zscript
Or how to set w variable to go up when you collect one
Nvm I set it to increase script 2 variable when you pick one up but I still don't know how to make the guy give you stuff if you give him those items

#4 MoscowModder

MoscowModder

    Sometimes lurking. Rarely posting.

  • Members
  • Location:Wisconsin

Posted 01 March 2017 - 05:57 PM

You can use string control codes for this. Look up zstrings.txt (packaged with ZC). Use code #6 to switch to a different string if you have 10 ingots, and in that string use code #16 to give Link his prize (and optionally #12 to take away the ingots).



#5 lincolnpepper

lincolnpepper

    epic gamer

  • Members
  • Real Name:Lincoln
  • Location:null island

Posted 01 March 2017 - 09:11 PM

Thank you, I'll try and see if I can understand :P


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users