Howdy, Stranger!

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

Possible to track where 'people' are? [SOLVED]

edited October 2014 in Help! with 1.x
I want to make a thing where 'people' (just an example) are walking around and have the game track their movements and where they are each 'turn'. I want something similar to FNAF where if they are outside I have a few turns till they enter or something so if I turn the light on the game knows they are there and if I close the door then the game knows they can't attack and will then leave. And is there anyway I could turn this into a map or (for FNAF) a camera so if I check a room then the game can tell me if someone is there? I'm guessing (if it is possible) that it's gonna be pretty complicated lol. Thanks in advance to anyone who helps!

Comments

  • You have variables
    You have tags

    Isn't that enough?
  • Possibly, I don't know, that's why I'm looking for help, thanks for the help btw.
  • Have you read the information on the Wiki about variables and tags?

    Basically you can use variables to track the things that are happening (eg light being on or off, location of monster, etc) and then use those variables to make decision in your game. You can use passage tags like 'corridor', 'outside', 'dark' to indicate the attributes of a passage representing a location.

    The list of things you have asked for help on is quite long and complex, pretty much the workings of a whole game, and to give an answer that covers all of it would be equally as long and complex.
  • I understand about Variables and stuff but i'm not sure how to make them move around like in FNAF, if you could help me on that front then i'm sure I can work the rest out. Thanks though.
  • I have attached an example TWS file showing a very basic way to do a wandering monster.

    The passages you will need to read are StoryInit, "Control Room", "Move Monster", and "Corridor 1", the others are less important.

    Each time you choose an option in the Control Room the monster will move one step along a path through a set of rooms (passages), when it reaches the last room it will turn around and travel back to the first room, then turn around and start again.
  • Awesome, thanks for taking the time to make that for me, really appreciate it! I should be able to work with that, thanks again!
Sign In or Register to comment.