Announcement: Be excellent to each other.


Caravel Forum : DROD RPG Boards : RPG Architecture : Blind Roaches (A Quiet Dungeon)
New Topic New Poll Post Reply
Poster Message
Professor Tio
Level: Delver
Avatar
Rank Points: 69
Registered: 01-30-2019
IP: Logged
icon Blind Roaches (0)  
Okay, so! Scripted monster time. So the idea I'm aiming for here is a roach that moves toward the player only if they're standing on anything other than an alternate floor tile.

Current Script:
Click here to view the secret text

Haven't gotten it to work as I fully intend it to, currently it's set to start moving on entrance as a test placeholder, and even then, there's still some degree of jank happening with the script, as it'll start moving if the player is on a non-alternate floor tile even if it's several turns after entering the room. And it's not like it happens every other turn, oh no, for some reason it happens every x9th turn.

____________________________
Hold stuff I guess!
Click here to view the secret text
My personal mindset about making holds is to create puzzles that provide a challenge for beginners, but still serve as fun little exercises for veterans.

Random DROD RPG Score-Point Sheet Template I quickly created if you wanna easily keep track of all your individual score-points in a hold! Score-Sheet Template
02-15-2019 at 12:19 AM
View Profile Send Private Message to User Show all user's posts Quote Reply
Chaco
Level: Smitemaster
Rank Points: 3244
Registered: 10-06-2005
IP: Logged
icon Re: Blind Roaches (+2)  
Just eyeballing your script, it looks like you forgot to reset your MyScript values back to -9999 after your "If... Wait for Alternate Floor" and your "Label Mobile". This is causing your first Wait 0 to instead take its "number of turns to wait" from your MyScriptX value, and similarly for the Move To command.

It's really important to have your MyScript values take on non -9999 values for an extremely limited scope, or else wacky nonsense like this can happen.

____________________________
Quick links to my stuff (in case you forgot where it was):
Click here to view the secret text

02-15-2019 at 12:40 AM
View Profile Send Private Message to User Send Email to User Show all user's posts High Scores This architect's holds Quote Reply
Professor Tio
Level: Delver
Avatar
Rank Points: 69
Registered: 01-30-2019
IP: Logged
icon Re: Blind Roaches (0)  
Oh right, the override script var commands. Thanks for the reminder at least.

____________________________
Hold stuff I guess!
Click here to view the secret text
My personal mindset about making holds is to create puzzles that provide a challenge for beginners, but still serve as fun little exercises for veterans.

Random DROD RPG Score-Point Sheet Template I quickly created if you wanna easily keep track of all your individual score-points in a hold! Score-Sheet Template
02-15-2019 at 12:52 AM
View Profile Send Private Message to User Show all user's posts Quote Reply
Professor Tio
Level: Delver
Avatar
Rank Points: 69
Registered: 01-30-2019
IP: Logged
icon Re: Blind Roaches (+1)  
Annnd more jank.

Click here to view the secret text

It works in an open space? But when it gets blocked by something in an attempt to make a diagonal move, even if just on one side, that's when the script starts to freeze up.

____________________________
Hold stuff I guess!
Click here to view the secret text
My personal mindset about making holds is to create puzzles that provide a challenge for beginners, but still serve as fun little exercises for veterans.

Random DROD RPG Score-Point Sheet Template I quickly created if you wanna easily keep track of all your individual score-points in a hold! Score-Sheet Template
02-15-2019 at 03:36 AM
View Profile Send Private Message to User Show all user's posts Quote Reply
Professor Tio
Level: Delver
Avatar
Rank Points: 69
Registered: 01-30-2019
IP: Logged
icon Re: Blind Roaches (0)  
Some more jank needs to sorted out, and I dunno if I made this better or worse:

Click here to view the secret text

I feel like this version should work for when it runs into an obstacle, since it should check for an open move before moving, then if it's a blocked diagonal move, it looks for an open vertical move first? Not completely sure.

____________________________
Hold stuff I guess!
Click here to view the secret text
My personal mindset about making holds is to create puzzles that provide a challenge for beginners, but still serve as fun little exercises for veterans.

Random DROD RPG Score-Point Sheet Template I quickly created if you wanna easily keep track of all your individual score-points in a hold! Score-Sheet Template
02-15-2019 at 03:29 PM
View Profile Send Private Message to User Show all user's posts Quote Reply
Professor Tio
Level: Delver
Avatar
Rank Points: 69
Registered: 01-30-2019
IP: Logged
icon Re: Blind Roaches (0)  
Wait nevermind, I was being blind liks almost always with this...

____________________________
Hold stuff I guess!
Click here to view the secret text
My personal mindset about making holds is to create puzzles that provide a challenge for beginners, but still serve as fun little exercises for veterans.

Random DROD RPG Score-Point Sheet Template I quickly created if you wanna easily keep track of all your individual score-points in a hold! Score-Sheet Template
02-15-2019 at 06:27 PM
View Profile Send Private Message to User Show all user's posts Quote Reply
New Topic New Poll Post Reply
Caravel Forum : DROD RPG Boards : RPG Architecture : Blind Roaches (A Quiet Dungeon)
Surf To:


Forum Rules:
Can I post a new topic? No
Can I reply? No
Can I read? Yes
HTML Enabled? No
UBBC Enabled? Yes
Words Filter Enable? No

Contact Us | CaravelGames.com

Powered by: tForum tForumHacks Edition b0.98.8
Originally created by Toan Huynh (Copyright © 2000)
Enhanced by the tForumHacks team and the Caravel team.