• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Project 2

Status
Not open for further replies.
Level 2
Joined
Sep 16, 2013
Messages
12
* You are only allowed to use the value 5 *one* time, and you may
* only use the value 5
*
* All other values must come from variables

So what counts as using the value 5?

Does the use of a number when accessing an array count as the use of a value? ex. GetUserUnitData(units[5])


//Unit may be a value
//Is A may be a value
//[ ] may be a value
//-> may be a value
//" " may be a value

What does this mean? It may be a value? And why would I use "Is A" when it's not part of the final display?
 
Level 2
Joined
Sep 16, 2013
Messages
12
kk thanks for the clarification.

One more question though, If change the text colour according to the instructions, wouldn't I have to use numbers? So how would that work since I can only use the number 5?
 
Level 2
Joined
Sep 16, 2013
Messages
12
kk. Also for the requirement:

You may only have 2 variables

Does the array itself count as one of the two? Because I believe I found the solution
but it requires an int and a string variable.....
 
Level 2
Joined
Sep 16, 2013
Messages
12
Thanks for the help :D

I got the solution. All those nested functions were pretty confusing :p
 
Status
Not open for further replies.
Top