The Daily Click ::. Forums ::. Klik Coding Help ::. Counters set as global values?
 

Post Reply  Post Oekaki 
 

Posted By Message

Rory Griffin



Registered
  14/08/2003
Points
  239
19th March, 2007 at 07:04:41 -

Is it possible to have a counter set to a global value if that value is a number?

 
n/a

Eternal Man [EE]

Pitied the FOO

Registered
  18/01/2007
Points
  2955

Game of the Week WinnerHero of TimeLOL SignI am an April Fool
19th March, 2007 at 07:13:57 -

Yeah, just use "Set counter to Global Value something". Just like everything else.

 
Eternal Entertainment's Code'n'Art Man

E_E = All Indie


...actually Ell Endie, but whatever.
Image
Image

Rory Griffin



Registered
  14/08/2003
Points
  239
19th March, 2007 at 07:33:56 -

Except that isn't an option...

 
n/a

Eternal Man [EE]

Pitied the FOO

Registered
  18/01/2007
Points
  2955

Game of the Week WinnerHero of TimeLOL SignI am an April Fool
19th March, 2007 at 07:53:22 -

Except it is...
-Set counter -> [Click cute computer icon] Retrieve a global value -> Pick cute global value.

That's in MMF 1.2 but I'm quite sure they haven't removed such a crucial option in MMF 2. What app are you using anyway? Whatever it is the option is hiding there, in the cute computer...

 
Eternal Entertainment's Code'n'Art Man

E_E = All Indie


...actually Ell Endie, but whatever.
Image
Image

Tim

I'm on here way too much

Registered
  25/08/2006
Points
  132

You've Been Circy'd!Clickzine StaffSilverNova MemberVIP MemberTurtle Power!Evil klikerWii OwnerHero of TimeGhostbuster!Pokemon Ball!
19th March, 2007 at 09:15:00 -

You can just enter the counter's value as (instead of a number, type)

"Global Value A"

Or whatever global value it is

 
http://www.SilverNova.co.uk


Rory Griffin



Registered
  14/08/2003
Points
  239
19th March, 2007 at 15:06:23 -

Syntax Error

 
n/a

Eternal Man [EE]

Pitied the FOO

Registered
  18/01/2007
Points
  2955

Game of the Week WinnerHero of TimeLOL SignI am an April Fool
19th March, 2007 at 15:27:31 -

Are you doing this:
[Whatever event]
Right-click the counter, choose "Set counter", click "Retrieve data from an object", right-click the icon "Special" (which looks like a computer), click the option named "Retrieve a global value", highlight the global value which you want to retrieve and click "Ok". Now the expression editor should say "Global Value X" where X is the letter or number for your global value. Now click "Ok" and voilá! You retrieved the global value!

That's the long way, instead you should just do as Tim said, type "Global Value X" in the expression editor where X again is a variable.

Sorry for being over-obvious, but it really shouldn't pose a problem.

 
Eternal Entertainment's Code'n'Art Man

E_E = All Indie


...actually Ell Endie, but whatever.
Image
Image

Tim

I'm on here way too much

Registered
  25/08/2006
Points
  132

You've Been Circy'd!Clickzine StaffSilverNova MemberVIP MemberTurtle Power!Evil klikerWii OwnerHero of TimeGhostbuster!Pokemon Ball!
19th March, 2007 at 15:33:11 -

Are you including the quotations? """"?

 
http://www.SilverNova.co.uk


Rory Griffin



Registered
  14/08/2003
Points
  239
19th March, 2007 at 15:47:32 -

Yes, I've done all that. I'm using MMF2, and for some reason it's not working. Try it yourself if you don't believe me... Latest build also. All extension packs, a few extension's I've put in myself, etc.

Image Edited by the Author.

 
n/a

Matt Boothman

The Nissan Micra of forum members

Registered
  20/09/2002
Points
  109

Game of the Week Winner
19th March, 2007 at 15:50:00 -

Interesting signature you got there.

Have you checked the actual counter's limits? They might be wrong.

 
http://soundcloud.com/normbo - Listen to my music.

axel

Crazy?

Registered
  05/02/2005
Points
  4766

Game of the Week WinnerYou've Been Circy'd!
19th March, 2007 at 15:51:16 -

If you get a syntax error, then just use the 'retrieve data from object' button, and get the expression manually.

And concerning your signature: If you can't even get that right, then you are pretty noob. Sorry, heh

Image Edited by the Author.

 
n/a

Eternal Man [EE]

Pitied the FOO

Registered
  18/01/2007
Points
  2955

Game of the Week WinnerHero of TimeLOL SignI am an April Fool
19th March, 2007 at 15:56:25 -

Sorry Ror(r)y! It does work in MMF2 (The demo anyways, but as I said earlier I'm quite sure they haven't removed such a crucial option in the fullversion), just tried it and it works just fine.

 
Eternal Entertainment's Code'n'Art Man

E_E = All Indie


...actually Ell Endie, but whatever.
Image
Image

Hernan



Registered
  04/03/2003
Points
  707

VIP Member
19th March, 2007 at 15:59:23 -

Make a screenshot of the error. I don't believe you, how can something simple as that not work? :s

 
This space is for rent

Eternal Man [EE]

Pitied the FOO

Registered
  18/01/2007
Points
  2955

Game of the Week WinnerHero of TimeLOL SignI am an April Fool
19th March, 2007 at 16:39:17 -

Hernan! You piece o' crap!
(Sorry couldn't help myself)

 
Eternal Entertainment's Code'n'Art Man

E_E = All Indie


...actually Ell Endie, but whatever.
Image
Image

Tim

I'm on here way too much

Registered
  25/08/2006
Points
  132

You've Been Circy'd!Clickzine StaffSilverNova MemberVIP MemberTurtle Power!Evil klikerWii OwnerHero of TimeGhostbuster!Pokemon Ball!
19th March, 2007 at 16:55:33 -

ERM! That's MR piece o' crap to you, Eternal

 
http://www.SilverNova.co.uk


Hernan



Registered
  04/03/2003
Points
  707

VIP Member
19th March, 2007 at 19:03:44 -

Smiling!! A smiling pieco o' crap. Don't you people understand anything??!! *runs away crying*

Image Edited by the Author.

 
This space is for rent

Eternal Man [EE]

Pitied the FOO

Registered
  18/01/2007
Points
  2955

Game of the Week WinnerHero of TimeLOL SignI am an April Fool
19th March, 2007 at 19:13:34 -

Ok ok, sorry... HERNAN! You smiling mr piece o' crap!

 
Eternal Entertainment's Code'n'Art Man

E_E = All Indie


...actually Ell Endie, but whatever.
Image
Image

Tim

I'm on here way too much

Registered
  25/08/2006
Points
  132

You've Been Circy'd!Clickzine StaffSilverNova MemberVIP MemberTurtle Power!Evil klikerWii OwnerHero of TimeGhostbuster!Pokemon Ball!
19th March, 2007 at 19:17:36 -

Yeah ok, you're forgiven

 
http://www.SilverNova.co.uk


Eternal Man [EE]

Pitied the FOO

Registered
  18/01/2007
Points
  2955

Game of the Week WinnerHero of TimeLOL SignI am an April Fool
19th March, 2007 at 19:24:27 -

Anyway, RORY BORY! COME IN RORY BORY!

 
Eternal Entertainment's Code'n'Art Man

E_E = All Indie


...actually Ell Endie, but whatever.
Image
Image

AndyUK

Mascot Maniac

Registered
  01/08/2002
Points
  14586

Game of the Week WinnerSecond GOTW AwardHas Donated, Thank You!VIP Member
19th March, 2007 at 20:16:12 -

I blame Eternal Entertainment for the sudden surge of off topic posts.

Shame on you.

 
.

Eternal Man [EE]

Pitied the FOO

Registered
  18/01/2007
Points
  2955

Game of the Week WinnerHero of TimeLOL SignI am an April Fool
19th March, 2007 at 23:10:55 -

What? Why on earth would you say that? And btw, your post is waaaaay of topic... hihi!
I'm just trying to get to the bottom of this global value issue, it's important business you know?

 
Eternal Entertainment's Code'n'Art Man

E_E = All Indie


...actually Ell Endie, but whatever.
Image
Image

Rory Griffin



Registered
  14/08/2003
Points
  239
20th March, 2007 at 07:28:46 -

I have labeled the Global Value as "EXP" because that is going to keep track of my character's experience. When I "Retrieve Data From An Object"->"Special"->"Retrieve A Global Value"->select "EXP"->it types in the box "EXP" without the quotes. I click "Check Current Expression" and the box directly below says "Syntax error." If I click "OK" it says "Cannot understand your expression. Please correct it or choose CANCEL."

Here is a screen shot of the error:
Image

 
n/a

axel

Crazy?

Registered
  05/02/2005
Points
  4766

Game of the Week WinnerYou've Been Circy'd!
20th March, 2007 at 07:59:51 -

I think EXP is a reserved value or function. Just change the name and you should be fine.

 
n/a

DaVince

This fool just HAD to have a custom rating

Registered
  04/09/2004
Points
  7998

Game of the Week WinnerClickzine StaffHas Donated, Thank You!Cardboard BoxDos Rules!
20th March, 2007 at 08:01:25 -

Well yeah, because exp() is a reserved function to get an exponent. Use a different name.

 
Old member (~2004-2007).

Hernan



Registered
  04/03/2003
Points
  707

VIP Member
20th March, 2007 at 08:01:39 -

'Exp' is reserved for the exponential function. Don't use names that are already in use, such as: sin, cos, log, abs, X, Y, timer etc etc. Of course you get an error, noob

Edit: woops, looks you like you guys were faster in responding

Image Edited by the Author.

 
This space is for rent

DaVince

This fool just HAD to have a custom rating

Registered
  04/09/2004
Points
  7998

Game of the Week WinnerClickzine StaffHas Donated, Thank You!Cardboard BoxDos Rules!
20th March, 2007 at 08:04:34 -

lolol I beat yous

 
Old member (~2004-2007).

Hernan



Registered
  04/03/2003
Points
  707

VIP Member
20th March, 2007 at 08:08:16 -

orz

 
This space is for rent
   

Post Reply



 



Advertisement

Worth A Click