The Daily Click ::. Forums ::. Klik Coding Help ::. What am I doing wrong; INI doesn't work
 

Post Reply  Post Oekaki 
 

Posted By Message

:JULI@N:



Registered
  14/07/2002
Points
  641
5th July, 2004 at 17:47:34 -

I'm using the ini plus that comes with MMF (there is one right? maybe I did install the ini+ i had for TGF...), and, um doing it step by step well, that's what i may end up doing. But for that i'd have to put
timer equals to 00'01 - stuff
timer equals to 00'02 - stuff
timer equals to 00'03 - stuff
timer equals to 00'04 - stuff
timer equals to 00'05 - stuff
timer equals to 00'06 - stuff
...etc
wouldn't I? There are 8 weapons to load

 
n/a

Knudde (Shab)

Administrator
Crazy?

Registered
  31/01/2003
Points
  5125

Has Donated, Thank You!Clickzine StaffKlikCast StarVIP MemberGhostbuster!Dos Rules!I donated an open source project
5th July, 2004 at 17:55:12 -

You're better off using loop based loading
ex.
=================================
always And Counter is <10 - add 1 to counter
counter=1 - load this
counter=2 - load that
and so on.
This is only because sometimes timed events get skipped on slower systems or in large games.


 
Craps, I'm an old man!

Pete Nattress

Cheesy Bits img src/uploads/sccheesegif

Registered
  23/09/2002
Points
  4811
5th July, 2004 at 17:55:36 -

phizzy's right, the standard INI object should be favoured over INI+. INI+ for MMF is provided for people who have used it in TGF games and want compatibility. http://www.clickteam.info/extensions/extview.php?id=80

i'm pretty sure you could have all those actions in one event, one after the other. or run a fastloop to do it.

 
www.thenatflap.co.uk

:JULI@N:



Registered
  14/07/2002
Points
  641
5th July, 2004 at 17:59:17 -

Ok. I'll do the loop thing. Thank you very much

 
n/a

:JULI@N:



Registered
  14/07/2002
Points
  641
5th July, 2004 at 18:22:04 -

Oh.... silly me....
I picked the normal INI (not plus) from the "Insert new object" dialog...
It can get values from items.....
...
....
So the problem was that I chose INI plus the first time....
It works perfectly now and as I wanted (loading the 8 weapons at start of frame)

 
n/a

Knudde (Shab)

Administrator
Crazy?

Registered
  31/01/2003
Points
  5125

Has Donated, Thank You!Clickzine StaffKlikCast StarVIP MemberGhostbuster!Dos Rules!I donated an open source project
5th July, 2004 at 18:29:25 -

just a question, what is it that you're working on there?

 
Craps, I'm an old man!

:JULI@N:



Registered
  14/07/2002
Points
  641
5th July, 2004 at 18:36:13 -

Um its a weird game, I think I'll name it "Bizarrity" there are 8 (wacky) weapons (like carrots), and each has it's own type of bullet, so that's why many things have to be loaded at the start of frame. I'll make a preview or submit a demo soon

 
n/a
   

Post Reply



 



Advertisement

Worth A Click