The Daily Click ::. Forums ::. Klik Coding Help ::. Values, switches, blarg?
 

Post Reply  Post Oekaki 
 

Posted By Message

Devernath



Registered
  04/12/2004
Points
  54

VIP Member
13th July, 2009 at 06:21:02 -

Okay, I want to know if this is possible.

I want my character to have 8 different weapons to choose from. He has to pick up the weapon, first.

I want one button to scroll through the weapons (would be shown in a display).

I made the weapons in a numerical order though. Eg. the character may pick up weapon #6 after picking up weapon #2. the display should show wep #2, and if he scrolls, should go to #6, and back to #2 if he scrolls again.

What would be an easy way to do this without having a million events to take care of every possibility of weapon choices?

 
n/a

Cecilectomy

noPE

Registered
  19/03/2005
Points
  305

Has Donated, Thank You!VIP MemberWeekly Picture Me This Winner!Cardboard BoxGhostbuster!Pokemon Ball!ComputerBox RedSanta HatSnowman
I am an April Fool
13th July, 2009 at 07:19:42 -

put all the weapons in a qualifier and give one of their alts unique values.

 
n/a

Devernath



Registered
  04/12/2004
Points
  54

VIP Member
13th July, 2009 at 08:32:47 -

....what are qualifiers and alts? im using TGF1, btw.

Edited by Devernath

 
n/a

Cecilectomy

noPE

Registered
  19/03/2005
Points
  305

Has Donated, Thank You!VIP MemberWeekly Picture Me This Winner!Cardboard BoxGhostbuster!Pokemon Ball!ComputerBox RedSanta HatSnowman
I am an April Fool
13th July, 2009 at 09:39:47 -

alts would be alterable values.
and qualifiers are a way to group objects together. you can find them under an objects preferences. right click the object->object preferences->object qualifiers:add

they are both in tgf1.

 
n/a

Devernath



Registered
  04/12/2004
Points
  54

VIP Member
13th July, 2009 at 10:49:29 -

...i know i sound stupid, but i dont really see how i can use that to accomplish what im trying to do.

im sorry

 
n/a

Cecilectomy

noPE

Registered
  19/03/2005
Points
  305

Has Donated, Thank You!VIP MemberWeekly Picture Me This Winner!Cardboard BoxGhostbuster!Pokemon Ball!ComputerBox RedSanta HatSnowman
I am an April Fool
13th July, 2009 at 12:46:09 -

im bad at explaining and tgf just took a dump on my computer while i was making an example. i'll try and get something together tomorrow if someone doesnt beat me to it or explain it before then.

 
n/a

Cecilectomy

noPE

Registered
  19/03/2005
Points
  305

Has Donated, Thank You!VIP MemberWeekly Picture Me This Winner!Cardboard BoxGhostbuster!Pokemon Ball!ComputerBox RedSanta HatSnowman
I am an April Fool
13th July, 2009 at 13:15:25 -

eh couldnt sleep. heres the example. should be exactly what you were looking for. hope you can modify it to your needs. if you need any more help let me know.

http://www.supertacogames.com/files/weaponselect.zip

 
n/a

Devernath



Registered
  04/12/2004
Points
  54

VIP Member
13th July, 2009 at 23:10:15 -

tyvm this is exactly what i needed!

 
n/a
   

Post Reply



 



Advertisement

Worth A Click