Jump to content

Photo

What does "CR" stand for?


  • Please log in to reply
3 replies to this topic

#1 LinkFan212

LinkFan212

    EVERYDAY is a BIG DAY

  • Members
  • Real Name:Caleb
  • Location:Over There

Posted 22 November 2018 - 09:36 PM

Trying to edit a boss script to spawn some monsters whenever Link's arrows are all gone. I have the code:  

 

if(Game->Counter[CR_ARROW] == 0)Attack = Pool5[Rand(0, 1)];

 

It says CR_ARROW needs to be declared. Does anyone know what it needs to be declared to in order for it to work?

 

Thanks!



#2 Deedee

Deedee

    Bug Frog Dragon Girl

  • Moderators
  • Real Name:Deedee
  • Pronouns:She / Her, They / Them
  • Location:Canada

Posted 22 November 2018 - 09:41 PM

import "std.zh"

Or, maybe it's CR_ARROWS. It's one of the two.

CR stands for Counter.


Edited by Dimentio, 22 November 2018 - 09:41 PM.

  • LinkFan212 likes this

#3 LinkFan212

LinkFan212

    EVERYDAY is a BIG DAY

  • Members
  • Real Name:Caleb
  • Location:Over There

Posted 22 November 2018 - 09:45 PM

You know what I so love about coding? One letter mishap and the entire thing breaks down! *Said sarcastically*

 

Thanks man, it got fixed!


  • Deedee likes this

#4 Timelord

Timelord

    The Timelord

  • Banned
  • Location:Prydon Academy

Posted 03 March 2019 - 05:39 AM

You know what I so love about coding? One letter mishap and the entire thing breaks down! *Said sarcastically*
 
Thanks man, it got fixed!


You will want to review the values decared in std_constants.zh, and look over std.txt.


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users