Need help with removing a row/column from a table.

guillefaceguilleface Member, BASIC Posts: 1,039
edited July 2012 in Working with GS (Mac)
hi all i have a table with 10 rows, each row have a value from 1 to 10, now i have 10 actors in my scene and i am trying to randomly assign a value from this row to each of this actors. for some reason i still get a repeat number, here is the file if you have time to check it up and tell me whats wrong, thanks so much.

https://dl.dropbox.com/u/46439975/true false trivia copy.zip

Answers

  • deadlightsdeadlights Member, PRO Posts: 235
    I'm having a very similar issue.. if you get a resolution, can you post it here?
  • MotherHooseMotherHoose Member Posts: 2,456
    edited July 2012
    @guilleface … each of the boxes recopies the table … and the used #s are available

    demo: http://www.mediafire.com/?qbqgmwbqx9dhbxd

    @deadlights … hopefully the demo helps


    image MH
  • HC_DKHC_DK Member Posts: 92
    I have made a few changes to your file. The new file is located here: http://dl.dropbox.com/u/12878764/true false trivia copy-HC.zip

    It is not very complicated. You should be able to see what I have changed and done.
    If not, feel free to ask :-)

    HC
  • guillefaceguilleface Member, BASIC Posts: 1,039
    @motherhoose yeah i did though about each actor was copy the table so i made it that only one did that but i was getting some repeats number, i see your method works good, but is it possible to do it without spawning any actors? like leave it the way i had it? i will need like 50 actors to get unique number, i don't know if spawning 50 actors is better that placing 50 actors in the scene?
  • deadlightsdeadlights Member, PRO Posts: 235
    Thank you @MotherHoose , I will try this out tonight and see if I can get it working with my project. ^:)^
  • MotherHooseMotherHoose Member Posts: 2,456
    @guilleface … spawns are wonderful!

    spawning 50 actors during runtime is better (less resource demanding) than
    …having 50 actorInstances that load at scene load

    for you and @deadlights:
    actorInstance's demo: http://www.mediafire.com/?oiyrfqcwdkt782x

    remember these are demos … just an example of 1 way to do something

    image MH
  • deadlightsdeadlights Member, PRO Posts: 235
    Truly appreciated - one day I'll be half as good as you, and that will make me awesome :)
  • guillefaceguilleface Member, BASIC Posts: 1,039
    Thanks motherhouse your right ,using spawning and my game still runs at 60 fps.thanks alot
  • The_Gamesalad_GuruThe_Gamesalad_Guru Member Posts: 9,922
    yeah that not spawning crap is dead as that was stuff when we were developing for armv6 devices.
Sign In or Register to comment.