Topic:   GM array   (Read 9666 times)


0 Members and 1 Guest are viewing this topic.

Tireas Dragon


  • GMG Extraordinaire

  • ***


  • Posts: 1626

  • Trying to recover from my shattered screen.
GM array
« on: June 05, 2008, 11:12:27 AM »
Well I made and array for GM. (Ya I know Al made one too) My array is only for booleans [boolean: A variable that has only 2 possible values (0/1)] You see lots of people here make game where they use lots of booleans, and declare more variables for each one. This way we can have all our booleans in one variable. So since I don't like writing example I will give you a link to a source code.
http://www.mediafire.com/?qmxgbem9cjc
« Last Edit: June 05, 2008, 11:13:37 AM by Tireas_Dragon »
I must be dreaming (wake up me wake up) How could this have happened. Tireas' cry when he found his computer fallen over in his chair with it's screen shattered.

Silverwind


  • ^ This guy is amazing.

  • ****


  • Posts: 2805

  • For the glory of my maker
Re: GM array
« Reply #1 on: June 05, 2008, 03:14:02 PM »
Nice. :) You should check out the word array system I made way back when:

http://gmforums.macintoshdevelopers.net/?board=GMD;action=display;num=1204240692
« Last Edit: June 05, 2008, 03:15:22 PM by Silverwind »
I survived the spammage of 2007

Tireas Dragon


  • GMG Extraordinaire

  • ***


  • Posts: 1626

  • Trying to recover from my shattered screen.
Re: GM array
« Reply #2 on: June 05, 2008, 04:05:16 PM »
I don't see an array all I see is a monster AI script.
I must be dreaming (wake up me wake up) How could this have happened. Tireas' cry when he found his computer fallen over in his chair with it's screen shattered.

Silverwind


  • ^ This guy is amazing.

  • ****


  • Posts: 2805

  • For the glory of my maker
Re: GM array
« Reply #3 on: June 05, 2008, 05:43:44 PM »
The word array is NPCpathes$:
Code: [Select]
NPCpaths$ = "" 
NPCchoices = 0
moveup$ = "moveup "
movedown$ = "movedown "
moveleft$ = "moveleft "
moveright$ = "moveright "
 
IF gridY < NPCgridY THEN
  NPCpaths$ = NPCpaths$ + moveup$
  NPCchoices = NPCchoices + 1
END IF
IF gridY > NPCgridY THEN
  NPCpaths$ = NPCpaths$ + movedown$
  NPCchoices = NPCchoices + 1
END IF
IF gridX < NPCgridX THEN
  NPCpaths$ = NPCpaths$ + moveleft$
  NPCchoices = NPCchoices + 1
END IF
IF gridX > NPCgridX THEN
  NPCpaths$ = NPCpaths$ + moveright$
  NPCchoices = NPCchoices + 1
END IF
 
NPCpickchoice = RANDOM NPCchoices
NPCaction$ = WORD$ NPCpaths$ NPCpickchoice
It's used to determine which direction the NPC will travel in. Rogue Frog's code is slightly different to this, but it's the same basic thing. QoM uses the system as well.
« Last Edit: June 05, 2008, 05:44:49 PM by Silverwind »
I survived the spammage of 2007

Tireas Dragon


  • GMG Extraordinaire

  • ***


  • Posts: 1626

  • Trying to recover from my shattered screen.
Re: GM array
« Reply #4 on: June 05, 2008, 05:53:03 PM »
I still don't see how its an array.
I must be dreaming (wake up me wake up) How could this have happened. Tireas' cry when he found his computer fallen over in his chair with it's screen shattered.

Silverwind


  • ^ This guy is amazing.

  • ****


  • Posts: 2805

  • For the glory of my maker
Re: GM array
« Reply #5 on: June 05, 2008, 05:57:38 PM »
You know, a variable containing multiple values? ??? the line "NPCaction$ = WORD$ NPCpaths$ NPCpickchoice" extracts one of the values from the array variable and assigns it to another variable.
I survived the spammage of 2007

Tireas Dragon


  • GMG Extraordinaire

  • ***


  • Posts: 1626

  • Trying to recover from my shattered screen.
Re: GM array
« Reply #6 on: June 05, 2008, 06:17:53 PM »
I think I get it you have it so the monster will go either way to get to you rather than going one way until he gets to you.
I must be dreaming (wake up me wake up) How could this have happened. Tireas' cry when he found his computer fallen over in his chair with it's screen shattered.

WarHampster


  • GMG Extraordinaire

  • ***


  • Posts: 1501

  • The People's Moderator
    • Arcade of the Absurd
Re: GM array
« Reply #7 on: June 05, 2008, 09:40:41 PM »
I'm pretty sure that you can do something like that in SC...

Tireas Dragon


  • GMG Extraordinaire

  • ***


  • Posts: 1626

  • Trying to recover from my shattered screen.
Re: GM array
« Reply #8 on: June 05, 2008, 09:42:58 PM »
I already do it in GM so I have no worries

I must be dreaming (wake up me wake up) How could this have happened. Tireas' cry when he found his computer fallen over in his chair with it's screen shattered.

figutak


  • GMG Newbie

  • *

  • no avatar

  • Posts: 1

  • Gan is so awesome.
    • No braids frusenex sampled ed prozac anxiolytic breastfeeding, fixators lab.
It dkb.xwwb.gamemakersgarage.com.cqj.kj stomach; polymorphs, 400mg vigamox pills lowest price generic vigamox discount lady-era in nederland kopen low cost doxylab generic verampil lowest price brand-allegra pill online allopurinol cialis pack without prescription best protonix 40mg prices buy generic levitra 20mg prices for fluticasone prozac price at walmart levitra plus tablets buspin information calcort cheap foracort online low cost cialis 20mg ciprofloxacin hcl 500 mg antibiotics cheap generic sildalis 120 mg professional cialis prices herbolax online pharmacy generic herbolax from canada generic ddavp isotroin without dr prescription usa order aurogra at an online pharmacy generique aurogra prednisone.com lowest price cytotec amoxicillin best price usa viagra 100mg price amoxil per pill buy celebrex prices for hydroxychloroquine lady era coupons generic slimonil men from india walmart slimonil men price prandial md plan b generic trazodone tablets frusenex cheap tropicamet amoxil generic digoxin flaring faced <a href="https://airportcarservicesandiego.com/vigamox/">generic vigamox france</a> preise vigamox <a href="https://sunsethilltreefarm.com/drug/lady-era/">lady era generic pills</a> <a href="https://mywyomingstore.com/item/doxylab/">order doxylab online in us</a> <a href="https://airportcarservicesandiego.com/verampil/">verampil uk</a> <a href="https://fairbusinessgoodwillappraisal.com/product/brand-allegra/">how much is brand-allegra</a> <a href="https://darlenesgiftshop.com/allopurinol/">allopurinol generic canada</a> <a href="https://endmedicaldebt.com/cialis-pack/">cialis pack buy online</a> <a href="https://mywyomingstore.com/protonix/">coupons protonix</a> <a href="https://coachchuckmartin.com/levitra-on-internet/">levitra</a> <a href="https://weddingadviceuk.com/fluticasone/">buy fluticasone uk</a> <a href="https://98rockswqrs.com/item/prozac/">prozac price at walmart</a> <a href="https://sjsbrookfield.org/levitra-plus/">levitra plus</a> <a href="https://mywyomingstore.com/buspin/">buspin</a> <a href="https://mychik.com/item/calcort/">calcort without a doctors prescription</a> <a href="https://pureelegance-decor.com/foracort/">buy foracort without prescription</a> <a href="https://oliveogrill.com/cialis-20mg/">cialis</a> <a href="https://oliveogrill.com/ciprofloxacin-500mg/">ciprofloxacin hcl 500 mg</a> <a href="https://uofeswimming.com/product/sildalis/">sildalis on line</a> <a href="https://petermillerfineart.com/product/professional-cialis/">professional cialis</a> <a href="https://petermillerfineart.com/drugs/herbolax/">cheap generic herbolax online india</a> <a href="https://tacticaltrappingservices.com/ddavp/">ddavp uk</a> <a href="https://petralovecoach.com/isotroin/">generic isotroin no prescription</a> <a href="https://glenwoodwine.com/pill/aurogra/">canadian pharmacy aurogra</a> <a href="https://carolinahealthclub.com/drug/prednisone/">prednisone</a> <a href="https://trafficjamcar.com/pill/cytotec/">cytotec where to buy online</a> <a href="https://amoxicillinus-amoxil.com/">overnight amoxicillin</a> <a href="https://a1sewcraft.com/viagra-online/">buy viagra</a> <a href="https://coachchuckmartin.com/drugs/amoxil/">amoxil</a> 1000 amoxil no prescription <a href="https://a1sewcraft.com/celebrex/">celebrex no prescription</a> <a href="https://advantagecarpetca.com/hydroxychloroquine/">hydroxychloroquine uk</a> <a href="https://andrealangforddesigns.com/lady-era/">cost of lady era tablets</a> <a href="https://petermillerfineart.com/item/slimonil-men/">slimonil men without an rx</a> <a href="https://pureelegance-decor.com/prandial-md/">online prandial md no prescription</a> <a href="https://comicshopservices.com/item/plan-b/">plan b</a> <a href="https://andrealangforddesigns.com/drugs/trazodone/">online generic trazodone</a> online generic trazodone <a href="https://petralovecoach.com/frusenex/">discount frusenex</a> <a href="https://sjsbrookfield.org/tropicamet/">tropicamet kaufen 5</a> <a href="https://advantagecarpetca.com/drug/cost-of-amoxil-tablets/">precio de amoxil</a> <a href="https://frankfortamerican.com/digoxin/">digoxin</a> malnourished https://airportcarservicesandiego.com/vigamox/ buy vigamox online cheap https://sunsethilltreefarm.com/drug/lady-era/ lady era https://mywyomingstore.com/item/doxylab/ doxylab best price https://airportcarservicesandiego.com/verampil/ verampil https://fairbusinessgoodwillappraisal.com/product/brand-allegra/ cheapest brand allegra dosage price https://darlenesgiftshop.com/allopurinol/ allopurinol https://endmedicaldebt.com/cialis-pack/ cialis pack https://mywyomingstore.com/protonix/ protonix for sale fast deliveri https://coachchuckmartin.com/levitra-on-internet/ levitra sites which accept paypal levitra sites which accept paypal https://weddingadviceuk.com/fluticasone/ fluticasone best price usa fluticasone https://98rockswqrs.com/item/prozac/ best price prozac 10mg https://sjsbrookfield.org/levitra-plus/ levitra plus https://mywyomingstore.com/buspin/ buspin information https://mychik.com/item/calcort/ online calcort no prescription https://pureelegance-decor.com/foracort/ generic foracort canada https://oliveogrill.com/cialis-20mg/ generic cialis 20 mg https://oliveogrill.com/ciprofloxacin-500mg/ ciprofloxacin hcl 500 mg https://uofeswimming.com/product/sildalis/ sildalis pt https://petermillerfineart.com/product/professional-cialis/ generic professional cialis canada pharmacy https://petermillerfineart.com/drugs/herbolax/ herbolax online uk https://tacticaltrappingservices.com/ddavp/ ddavp uk https://petralovecoach.com/isotroin/ generic isotroin lowest price https://glenwoodwine.com/pill/aurogra/ buy aurogra germany https://carolinahealthclub.com/drug/prednisone/ buy prednisone without prescription https://trafficjamcar.com/pill/cytotec/ generic cytotec in canada cytotec stock price https://amoxicillinus-amoxil.com/ amoxicillin best price usa https://a1sewcraft.com/viagra-online/ using viagra after prostate surgery https://coachchuckmartin.com/drugs/amoxil/ amoxil.com lowest price https://a1sewcraft.com/celebrex/ celebrex https://advantagecarpetca.com/hydroxychloroquine/ on line hydroxychloroquine https://andrealangforddesigns.com/lady-era/ prices for lady era https://petermillerfineart.com/item/slimonil-men/ slimonil men commercial https://pureelegance-decor.com/prandial-md/ order prandial md online https://comicshopservices.com/item/plan-b/ generic for plan b https://andrealangforddesigns.com/drugs/trazodone/ trazodone non generic https://petralovecoach.com/frusenex/ frusenex frusenex https://sjsbrookfield.org/tropicamet/ generic for tropicamet https://advantagecarpetca.com/drug/cost-of-amoxil-tablets/ amoxil https://frankfortamerican.com/digoxin/ digoxin disclosures, framed intense.

araolabuyap


  • GMG Newbie

  • *

  • no avatar

  • Posts: 1

  • Gan is so awesome.
    • Obesity qualify affect, delay; patient-centred anthrax, zero.
Obesity qualify affect, delay; patient-centred anthrax, zero.
« Reply #10 on: March 28, 2024, 07:22:28 AM »
Explain tested cialis best price usa online tenofovir_disoproxil_fumarate generic tenofovir-disoproxil-fumarate without a doctors prescription half price famciclovir triamterene no prescription buy vidalista online discount viropil ed sample pack 3 gabapentin farmacias en canada gabapentin best price low cost levothyroxine order celebrex online celebrex generic finasteride information finasteride information generic for xyzal iverjohn im internet bestellen retail sale shallaki buy tadalafil in canada sildalis to buy how can i get advent-dt canada fildena buying tadalafil online attic <a href="https://mplseye.com/cialis-generic-canada/">cialis generic canada</a> <a href="https://endmedicaldebt.com/tenofovir-disoproxil-fumarate/">tenofovir_disoproxil_fumarate en valencia</a> <a href="https://breathejphotography.com/item/famciclovir/">famciclovir</a> <a href="https://rrhail.org/product/triamterene/">triamterene</a> <a href="https://trafficjamcar.com/vidalista-without-an-rx/">purchase vidalista without a prescription</a> <a href="https://andrealangforddesigns.com/viropil/">discount viropil</a> discount viropil <a href="https://umichicago.com/drugs/ed-sample-pack-3/">canadian ed sample pack 3</a> <a href="https://shilpaotc.com/gabapentin/">canada gabapentin</a> <a href="https://cubscoutpack152.org/levothyroxine/">levothyroxine 200mcg</a> <a href="https://thepaleomodel.com/celebrex/">celebrex without dr prescription usa</a> buy celebrex no prescription <a href="https://oliveogrill.com/celebrex/">cheap celebrex</a> <a href="https://otherbrotherdarryls.com/finasteride-canadian-pharmacy/">buying finasteride online</a> <a href="https://rrhail.org/pill/xyzal/">xyzal</a> <a href="https://cubscoutpack152.org/iverjohn/">iverjohn compra online</a> <a href="https://newyorksecuritylicense.com/item/shallaki/">shallaki</a> ebay shallaki <a href="https://mrcpromotions.com/tadalafil/">buy tadalafil in canada</a> <a href="https://ifcuriousthenlearn.com/sildalis/">cheapest sildalis dosage price</a> <a href="https://cubscoutpack152.org/advent-dt/">advent dt</a> <a href="https://tonysflowerstucson.com/fildena/">fildena prices</a> <a href="https://solepost.com/tadalafil-cost/">tadalafil cost</a> metabolic https://mplseye.com/cialis-generic-canada/ https://endmedicaldebt.com/tenofovir-disoproxil-fumarate/ https://breathejphotography.com/item/famciclovir/ https://rrhail.org/product/triamterene/ https://trafficjamcar.com/vidalista-without-an-rx/ https://andrealangforddesigns.com/viropil/ viropil uk https://umichicago.com/drugs/ed-sample-pack-3/ https://shilpaotc.com/gabapentin/ https://cubscoutpack152.org/levothyroxine/ https://thepaleomodel.com/celebrex/ https://oliveogrill.com/celebrex/ https://otherbrotherdarryls.com/finasteride-canadian-pharmacy/ https://rrhail.org/pill/xyzal/ https://cubscoutpack152.org/iverjohn/ https://newyorksecuritylicense.com/item/shallaki/ https://mrcpromotions.com/tadalafil/ https://ifcuriousthenlearn.com/sildalis/ https://cubscoutpack152.org/advent-dt/ https://tonysflowerstucson.com/fildena/ https://solepost.com/tadalafil-cost/ truth: habits.

igetcartsforsale


  • GMG Newbie

  • *

  • no avatar

  • Posts: 1

  • Gan is so awesome.
Re: GM array
« Reply #11 on: April 23, 2024, 06:04:20 AM »
<a href="https://firearms-broker.com/">resolute-200-rifle-mk4-22lr</a>
<a href="https://firearms-broker.com/">hogue-chechen-revolver-grip</a>
<a href="https://firearms-broker.com/">cynergy-cx-feather</a>
<a href="https://firearms-broker.com/product/imi-isreal-uzi-model-b-full-auto-9mm/">imi isreal uzi</a>
<a href="https://firearms-broker.com/product/colt-monolithic-m4-cqb-5-56mm-full-auto-rifle-10-3-barrel/">colt monolithic m4 cqb</a>
<a href="https://firearms-broker.com/product/colt-m5-cqc-5-56mm-full-auto-rifle-10-3-barrel/">colt m5 cqc</a>
<a href="https://firearms-broker.com/product/colt-m5-commando-5-56mm-full-auto-rifle-11-5-barrel/">colt m5 commando</a>
<a href="https://firearms-broker.com/product/colt-m4-commando-5-56mm-full-auto-rifle-11-5-barrel/">colt m4 commando</a>
<a href="https://firearms-broker.com/product/buy-colt-monolithic-m4-carbine-5-56mm-fully-auto-rifle-16-barrel/">colt monolithic m4 carbine</a>
<a href="https://igetcartsforsale.com/">igetcarts</a>
<a href="https://igetcartsforsale.com/product-category/iget-bar-plus-6000-puffs/">iget bar plus</a>
<a href="https://igetcartsforsale.com/product-category/iget-moon-k5000/"></a>
<a href="https://igetcartsforsale.com/product/gunnpod-strawberry-kiwi-2000-puffs/">gunnpod strawberry kiwi</a>
<a href="https://igetcartsforsale.com/product/banana-pomergrante-cherry-ice-3500-puffs/">banana pomergrante cherry ice</a>
<a href="https://igetcartsforsale.com/product/blackberry-raspberry-ice-2600-puffs/">blackberry raspberry ice</a>
<a href="https://igetcartsforsale.com/product/blackberry-raspberry-lemon-3500-puffs/">blackberry raspberry lemon</a>
<a href="https://igetcartsforsale.com/product/blackberry-raspberry-orange-1800-puffs/">lackberry raspberry orange</a>
<a href="https://buy420weeds.com/product/buy-top-quality-nova-og-strain-online/">nova og</a>
<a href="https://buy420weeds.com/product/buy-top-quality-northern-lights-strain/">northern lights</a>
<a href="https://buy420weeds.com/product/order-top-quality-master-kush-online/">master kush</a>
<a href="https://buy420weeds.com/product/buy-top-quality-grape-ape-online/">Grape Ape</a>
<a href="https://buy420weeds.com/product/buy-top-quality-hindi-kush-online/">Hindi kush</a>
<a href="https://buy420weeds.com/product/buy-top-quality-death-star-online/">death star</a>
<a href="https://buy420weeds.com/product/buy-top-quality-bubba-kush-online/">bubba kush</a>
<a href="https://buy420weeds.com/product/buy-top-quality-abusive-og-online/">abusive og</a>
<a href="https://buy420weeds.com/product/buy-top-quality-mazar-i-sharif-hash-online/">mazar i sharif hash</a>
<a href="https://buy420weeds.com/product/buy-bananimal-strain-online/">bananimal strain</a>
<a href="https://buy420weeds.com/product/cookies-and-cream-weed-strain/">cookies and cream weed strain</a>
<a href="https://buy420weeds.com/product/buy-bacio-gelato-weed-strain-online/">bacio gelato</a>
<a href="https://buy420weeds.com/product/order-top-quality-t1-flower-online/">T1 flower</a>
<a href="https://buy420weeds.com/product/buy-raw-kief-online/">raw kief</a>
<a href="https://buy420weeds.com/product/buy-top-quality-cherry-wine-online/">cherry wine</a>
<a href="https://buy420weeds.com/product/buy-top-quaity-super-lemon-haze/">super lemon haze</a>
<a href="https://buy420weeds.com/product/buy-top-quality-elektra-strain-online/">elektra strain</a>
<a href="https://buy420weeds.com/product/buy-white-rhino-online/">white rhino</a>
<a href="https://buy420weeds.com/product/buy-best-quality-kurupts-moonrocks-online/">kurupt moonrocks</a>
<a href="https://buy420weeds.com/product/buy-top-quality-zodiaks-moonrocks-online/">zodiaks moonrocks</a>
<a href="https://buy420weeds.com/product/buy-top-quality-alaskan-thunder-fuck/">alaskan thunder fuck</a>
<a href="https://buy420weeds.com/product/buy-best-quality-durban-poison-online/">durban poison</a>
<a href="https://buy420weeds.com/product/buy-best-quality-ghost-train-haze-online/">ghost train haze</a>
<a href="https://buy420weeds.com/product/buy-best-quality-green-crack-online/">green crack</a>
<a href="https://buy420weeds.com/product/buy-top-quality-jack-herer-strain-online/">jack herer</a>
<a href="https://buy420weeds.com/product/buy-top-quality-king-tut-strain-online/">king tut strain</a>
<a href="https://buy420weeds.com/product/buy-quality-willie-nelson-strain-online/">willie nelson strain</a>
<a href="https://buy420weeds.com/product/buy-best-quality-mazatapec-mushroom-online/">mazatapec mushroom</a>
<a href="https://buy420weeds.com/product/buy-top-quality-golden-teacher-mushroom/">golden teacher mushroom</a>
<a href="https://buy420weeds.com/product/buy-best-mushroom-peanut-butter-cookie/">mushroom peanut butter cookie</a>
<a href="https://buy420weeds.com/product/milk-chocolate-orange-square-by-room-920/">milk chocolate orange square</a>
<a href="https://buy420weeds.com/product/buy-best-mexican-cubensis-mushrooms-online/">mexican cubensis mushrooms</a>
<a href="https://buy420weeds.com/product/buy-quality-malabar-mushrooms-online/">malabar mushrooms</a>
<a href="https://buy420weeds.com/product/buy-green-apple-mushroom-gummy-by-alice/">green apple mushroom</a>
<a href="https://buy420weeds.com/product/buy-dark-chocolate-mint-square-by-room-920/">dark chocolate mint square</a>
<a href="https://buy420weeds.com/product/buy-cherry-mushroom-jelly-by-room-920/">cherry mushroom jelly</a>
<a href="https://buy420weeds.com/product/buy-best-brazilian-cubensis-online/">brazilian cubensis</a>
<a href="https://buy420weeds.com/product/buy-top-quality-blue-meanies-mushrooms/">blue meanies mushrooms</a>
<a href="https://buy420weeds.com/product/buy-top-quality-arenal-volcano-mushrooms/">arenal volcano mushrooms</a>
<a href="https://buy420weeds.com/product/buy-top-quality-amazonian-cubensis-online/">amazonian cubensis</a>
<a href="https://buy420weeds.com/product/buy-albino-penis-envy-mushrooms-online/">albino penis envy mushrooms</a>
<a href="https://buy420weeds.com/product/buy-best-albino-cubensis-capsules-by-zoom/">albino cubensis capsules</a>
<a href="https://buy420weeds.com/product/buy-top-quality-alacabenzi-cubensis-online/">alacabenzi cubensis</a>
<a href="https://bluvapeofficial.com">blu vape</a>
<a href="https://caminosoursofficial.com">camino sours</a>
<a href="https://deathrowvapesonline.com">death row vapes</a>
<a href="https://diamondairbar.com">diamond air bar</a>
<a href="https://dozomushroomgummiesstore.com">dozo mushroom gummies</a>
<a href="https://dragbarstore.com">drag bar</a>
<a href="https://dropsgummiesstore.com">drops gummies</a>
<a href="https://dummyvapesstore.com">dummy vapes</a>
<a href="https://escobarsofficialstore.com">esco bars</a>
<a href="https://funkyrepublicti7000.com">funky republic ti7000</a>
<a href="https://funkyrepublicvapeofficial.com">funky republic</a>
<a href="https://geekbarofficial.com">geek bar</a>
<a href="https://geekvapeofficialstore.com">geek vape</a>
<a href="https://hixoticgummies.com">hixotic gummies</a>
<a href="https://ignitevapestore.com">ignite vape</a>
<a href="https://ijoybarofficialstore.com">ijoy bar</a>