lionz's Recent Forum Activity

  • When you die you just restart the layout, you need to ask it to load from the slot same as when you are outside the layout.

  • Usually that only triggers if you're trying to find a path with a bunch of obstacles around the location. Although you are finding a path to a very small space, only 20 pixels out either side, it should still move there. It could possibly fail if the soldiers are solid or obstacles themselves..

  • Not sure on this one, logic seems fine. Right click doesn't seem to interfere with anything. Check that the soldiers are definitely 'selected' I suppose, that the selection box logic has worked. There might also be a small chance the green selection object isn't hooked up correctly, so it's visible but that soldier is not actually selected, you can check the boolean in debug mode for each soldier.

  • Logic seems fine, except the for each is kind of redundant. Post a screenshot of the new events.

  • If it's working as intended then that's good, we'll say resolved :P

  • Move along path is done a little differently. You have find path for soldiers, keep that the same, then in a different event you have soldier on path found > move along path.

  • Tile movement behaviour is disabled?

  • There are several ways to do it I guess but a simple one would be to toggle a variable. In the FloorDraw function but outside of the for each loop, set a variable to 1. Then at the bottom you have your for each loop to run when variable=1. At the end of the for each loop you set the variable back to 0 so it runs once.

    Also your nested loop seems a bit wrong there, it will run both loops for each instance in turn, so you probably need to separate those out and have them run in order, not sure of its purpose though so couldn't say 100%.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Flying sharks should be a feature

  • Functions are bad for picking. For the first problem area, you'll need to move the events up to the for each for it to refer to each isotile in turn, assuming that's what you want.

    For the second problem area where it's in a function within a function, you can send the isotile UID through IsoSort as a parameter, and on IsoSort function reference IsoTile where IsoTile.UID = function.param(0). As it stands, it does not refer to any particular IsoTile.

    And just as final clarification, it runs everything in the for each loop first, so runs through those isotile creations, then moves down to event 24 and beyond without any specific isotile picked. Not sure on what the logic is doing, specifically the meaning of the perspective variable but that should hopefully give you some idea.

  • Are there other killer objects than the one you are creating in that event? If not then you're picking objects that are not created yet. Create them first then pick them and move them with the button press.

  • What's 'On completed', AJAX? Do you know for sure it has completed, did you try other actions to verify?

lionz's avatar

lionz

Member since 5 Aug, 2013

Twitter
lionz has 79 followers

Trophy Case

  • 13-Year Club
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • Forum Wizard Made 5,000 posts in the forums
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • Enduring Visitor Visited Construct.net 90 days in a row
  • Unrelenting Visitor Visited Construct.net 180 days in a row
  • Continuous Visitor Visited Construct.net 365 days in a row
  • RTFM Read the fabulous manual
  • Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

26/44
How to earn trophies