GameSalad Forums GameSalad Forums
Categories
Discussions
Dashboard
Sign In · Register
Sign In · Register
Categories
Discussions
Dashboard
Sign In · Register
Home › Search
  1. Spawning actors with random attributes other than location?

    RossmanBrothersGames
    by RossmanBrothersGames · September 2014
    Change attribute:
  2. Spawning actors with random attributes other than location?

    dmorin@gmail.com
    by dmorin@gmail.com · September 2014
    I get that "spawn actor" can be given a random x,y position and we're using that. I'm wondering if there is a way to randomize other attributes? For instance I'd like to change the p
  3. Game attributes are not being updated to change the spawn rate...

    youdvdk
    by youdvdk · September 2014
    Thanks so much guys. I am in college at the moment, but I will definitely try that when I get home this afternoon. And would, instead of changing attribute every 10 seconds, it work to constrain attri
  4. Game attributes are not being updated to change the spawn rate...

    gyroscope
    by gyroscope · September 2014
    Hi @youdvdk The reason why the SpawnMore doesn't update in a Timer is there's no constrain code written into that particular behaviour - so it'll take the first value, via an attribute or not, and go
  5. Going Crazy! Need Help Permanently Destroying Actor From Scene!

    pHghost
    by pHghost · September 2014
    You'll need to save and load an attribute that tells the actor whether the item has been bought or not.
  6. Game attributes are not being updated to change the spawn rate...

    youdvdk
    by youdvdk · September 2014
    Ok. Here it is. It is within the same actor, and is the second change attribute in that timer. Right now it changes game.SpawnMore to game.SpawnMore-0.1. I also turned the increase of game.SpawnLimit
  7. Need help with layers

    gyroscope
    by gyroscope · September 2014
    There's no grouping feature in GSC in either edit mode or at runtime. The solution to your problem is by using the behaviour called Constrain Attribute.
  8. Random spawning isn't working

    LightningSora
    by LightningSora · September 2014
    Alright, so for my rules...I made a game attribute called "random" and set it up with a timer that every 5 seconds it would choose a random number from 1 to 4. So its set as Timer ev
  9. How to make text appear for longer?

    gyroscope
    by gyroscope · September 2014
    Rule: When gotext is trueTimer: For 5 seconds run to completionDisplay Text yourTextTimer: Timer After 5 seconds run to completionChange attribute gotext to falseTimer: Every 60 seconds run to complet
  10. How to make text appear for longer?

    payallal
    by payallal · September 2014
    Hi @gyroscope‌ ! Thanks for your answer. I'm just trying to get some text to flash on the screen every 60 seconds for a duration of about 5 seconds. The Moveable attribute is unchecked. Any suggestion
  11. How to make text appear for longer?

    gyroscope
    by gyroscope · September 2014
    Change Attribute showText to true
  12. Random level generation

    gyroscope
    by gyroscope · September 2014
    Hi @Moogus, yes there is with random attribute changes for x and y placements within set limits (depending on which object you want placed). This could get a bit "messy" though and p
  13. How to make text appear for longer?

    payallal
    by payallal · September 2014
    than a second. I have tried using the timer attribute in which I set it 'for' 5 seconds. But somehow, that doesn't seem to work. I am using a mac.
  14. Tutorials and Free Stuff from Jamie_C

    colander
    by colander · September 2014
    @jamie_c yes if there are a lot of enemies spawning then tables would have to be involved if you don't want a massive list of game attributes for self.PositionX and Y. I was looking at this with @jack
  15. Game attributes are not being updated to change the spawn rate...

    youdvdk
    by youdvdk · September 2014
    The first attribute is game.SpawnLimit and in the spawner it's every game.SpawnMore.
  16. Game attributes are not being updated to change the spawn rate...

    youdvdk
    by youdvdk · September 2014
    It is a real attribute already, but thanks (Image)
  17. Game attributes are not being updated to change the spawn rate...

    Lovejoy
    by Lovejoy · September 2014
    Try changing your game.SpawnMore to a Real Attribute.
  18. Game attributes are not being updated to change the spawn rate...

    youdvdk
    by youdvdk · September 2014
    When attribute game.SpawnLimit is equal to or greater than 0, then every game.SpawnMore seconds (set at 1 second to start) spawn actor.
  19. Making the same sound play over itself

    gyroscope
    by gyroscope · September 2014
    Timer: Every 0.3 secondsRule: When Count < 3Change Attribute Count to Count + 1OtherwiseChange Attribute Count to 0Rule: When Count is 1PlaySound YourWhooshv1Rule: When Count is 2PlaySound Your
  20. Random Number within a certain Range that's divisible by a certain number

    gyroscope
    by gyroscope · September 2014
    Integer attribute WhichSpawn initial value set to 0
Previous Next

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with GameSalad

Sign In Register

© Vanilla Keystone Theme 2026

Powered By Vanilla