Discuss Scratch

TheRaidGaming
Scratcher
50 posts

how do i make AI for fnaf?

I dont know how to make AI. Plz help?
Sojourner555
Scratcher
100+ posts

how do i make AI for fnaf?

AI is artificial intelligence. It can be used in many ways. If you want help on an AI, say specifically what project and for what purpose. AIs are just logic.
TheRaidGaming
Scratcher
50 posts

how do i make AI for fnaf?

I need to do it for a five nights at freddy's game, and basicly the AI of which it choses where to go on the cam map, but not randomly, like bonnie's Ai in the 1st game.
LegoCreep
Scratcher
24 posts

how do i make AI for fnaf?

TheRaidGaming wrote:

I need to do it for a five nights at freddy's game, and basicly the AI of which it choses where to go on the cam map, but not randomly, like bonnie's Ai in the 1st game.
Oh! Then I do it like this:

definemovein80to90secondswaitpickrandom80to90secsifbonniePos=room_1thensetbonniePostoroom_2elseifbonniePos=room_2thensetbonniePostoroom_3elseifbonniePos=room_3thensetbonniePostoroom_4elseifbonniePos=room_4thensetbonniePostoroom_5elseifbonniePos=room_5thensetbonniePostooffice

And so on. You can make it as long or short as you want. You can add other code if you like. Tell me if this doesn't make sense.

Last edited by LegoCreep (May 19, 2015 21:49:19)

TheRaidGaming
Scratcher
50 posts

how do i make AI for fnaf?

thank you!
I'll add it to my game
demrphtevenreal
New Scratcher
1 post

how do i make AI for fnaf?

How do you make the AI diferent each night?
ali8888
Scratcher
8 posts

how do i make AI for fnaf?

You can use this ! You should make two variables : Location and A.I.

whenIreceiveStartNight
foreverifFreddyLocation=1thenwaitpickrandom60to70/FreddyA.I.secssetFreddyLocationto2 ifFreddyLocation=2thenwaitpickrandom60to70/FreddyA.I.secssetFreddyLocationto3

Or you can move your character in even more places !

Last edited by ali8888 (July 16, 2015 20:32:45)

Pounderzz
Scratcher
3 posts

how do i make AI for fnaf?

ali8888 wrote:

You can use this ! You should make two variables : Location and A.I.

whenIreceiveStartNight
foreverifFreddyLocation=1thenwaitpickrandom60to70/FreddyA.I.secssetFreddyLocationto2 ifFreddyLocation=2thenwaitpickrandom60to70/FreddyA.I.secssetFreddyLocationto3

Or you can move your character in even more places

THAT IS USEFUL

Last edited by Pounderzz (Nov. 9, 2015 19:14:49)

BKFighter
Scratcher
1000+ posts

how do i make AI for fnaf?

Pounderzz wrote:

ali8888 wrote:

You can use this ! You should make two variables : Location and A.I.

whenIreceiveStartNight
foreverifFreddyLocation=1thenwaitpickrandom60to70/FreddyA.I.secssetFreddyLocationto2 ifFreddyLocation=2thenwaitpickrandom60to70/FreddyA.I.secssetFreddyLocationto3

Or you can move your character in even more places

THAT IS USEFUL
Please do not necro post and spam.
TheRaidGaming
Scratcher
50 posts

how do i make AI for fnaf?

Thank you for the help. It has been over 5 months now so I believe I will not need this help anymore, but thank you anyways.
AMPrice
Scratcher
2 posts

how do i make AI for fnaf?

Whats the A.I varaible do?
TheRaidGaming
Scratcher
50 posts

how do i make AI for fnaf?

AMPrice wrote:

Whats the A.I variable do?
You know how AI gets more difficult during the nights? Well, it's the AI difficulty.

Powered by DjangoBB