Timestream Saga - Arcadia Incident Report (Demo Version)

Make games! Discuss those games here.

Moderators: Bob the Hamster, marionline, SDHawk

Post Reply
User avatar
Fenrir-Lunaris
Metal Slime
Posts: 768
Joined: Mon Oct 15, 2007 10:45 pm
Location: OHR Depot

Timestream Saga - Arcadia Incident Report (Demo Version)

Post by Fenrir-Lunaris »

A game approaches! Command?

This game is still only basically a demo. It has no ending, leaving off somewhere in the middle of the "4th" mission. I am hoping the prospect of playing something unique and new will overcome this limitation.
User avatar
Fenrir-Lunaris
Metal Slime
Posts: 768
Joined: Mon Oct 15, 2007 10:45 pm
Location: OHR Depot

OH GOD A ZELDA SCRIPT

Post by Fenrir-Lunaris »

There's an issue with this script regarding wall collision checking - namely that there isn't any. I'd like to fix that, but before then, I'll post what is essentially the meat and bones of Arcadia Incident Report's main plotscript. So here goes:

Code: Select all

script,lifebar,begin
 FOE10HP := 3
 FOE11HP := 3
 FOE12HP := 3
 FOE13HP := 3
 FOE14HP := 3
 FOE15HP := 3
 FOE16HP := 3
 FOE17HP := 3
 FOE18HP := 3
 FOE19HP := 3
 set tag (tag:safe,off)
This sequence starts the script up and sets every enemy on the map to have 3 HP. It also turns a tag off, just because.

Code: Select all

 if (checktag(tag:safe) == on) then (show no value)
 wait (1)
 while (checktag (tag:safe) == off) do (
This segment is mainly redundant but is necessery when combined with another script. Mainly it causes the game to NOT display your health when you're safe. It also sets up the loop and the meat of the script when you aren't safe...

Code: Select all

 (
 set hero speed (me,0)


	if (key is pressed (key:Pageup)) then (set hero direction (me,right), put hero (me,hero-x + 

hero-speed, hero-y -- hero-speed))

 	if (key is pressed (key:right)) then (set hero direction (me,right),put hero (me,hero-x + 

hero-speed,hero-y))

if (key is pressed (key:Pagedown)) then (set hero direction (me,right), put hero (me,hero-x + hero-speed, 

hero-y + hero-speed))

if (key is pressed (key:Home)) then (set hero direction (me,left), put hero (me,hero-x -- hero-speed, hero-y 

-- hero-speed))

if (key is pressed (key:left)) then (set hero direction (me,left),put hero (me,hero-x -- hero-speed,hero-y))

if (key is pressed (key:End)) then (set hero direction (me,left), put hero (me,hero-x -- hero-speed, hero-y 

+ hero-speed))

if (key is pressed (key:up)) then (set hero direction (me,up), put hero (me,hero-x,hero-y -- hero-speed))
 	
if (key is pressed (key:down)) then (set hero direction (me,down), put hero (me,hero-x,hero-y + hero-speed))
)
Craziness here. Firstly, setting the hero's speed to ZERO all but disables the player controlled input for walking with the default OHR keys. Their walking speed is reset when entering a "safe" zone, thus creating the illusion of total control in and out of battles.

hero-x is the hero's X position in pixels.
hero-y is the hero's Y position in pixels too.
hero-speed is the hero's innate "speed" stat, 1,2,4,5,10,or 20. By default this value is 4, but equipment can change this stat (and must ONLY change it to one of the listed values!!).

The script then runs a case by case basis for movement by checking keys. You'll note that it's presently set up to use a numpad for walking, and that moving on a "diagonal" sets you to face either the left or right aspect of that diagonal. There's no real reason to do that, aside from playable area essentially being all but a widescreen resolution at 16x9 tiles, and longstanding game tradition. Eventually the extra "diagonals" will get rewritten to simply check if two keys are being pressed at once, but not for now.

The basic gist is that if a directional key is pressed, the hero is "moved" by it's "speed" in pixels in that direction.

An astute observer of OHRRPGCE plotscripting will very quickly realize that there is NO checking for wall collision at this point. Mostly this is an artifact of the code's original tile-based movement. I would like to fix this with a VERY simple check. Ideally, this would be done by checking whether the TILES around the hero's sprite have an "A" passability bitset, and not checking the actual walls themselves - then simply disallow moving the hero sprite into the boundaries of that tile. I've a feeling this would be faster than checking each individual wall passability, but I could be wrong - and I have no idea on how to do either.

Code: Select all

 if (checktag(tag:safe) == on) then (show no value)
 KYLEHP := get hero stat(hero:Kyle,stat:HP,current stat)
 hero-x := hero pixel x(me)
 hero-y := hero pixel y(me)
 hero-speed := get hero stat(hero:Kyle,stat:Speed,current stat)
 show value (KYLEHP)
Again, the redundant check for hero HP. For some reason, this step has to appear multiple times. It is also here that the various variables are defined and continuously updated. Player HP is displayed in real time, as we will shortly see.

Code: Select all

  if ( KYLEHP >= (100) ) then ( KYLEHP := 99 )
 if (KYLEHP >= (50)) then (  Alter NPC (0,NPCstat:picture,32),Alter NPC (9,NPCstat:picture,35))
 if &#40;KYLEHP <= &#40;49&#41;&#41; then &#40;  Alter NPC &#40;0,NPCstat&#58;picture,33&#41;,Alter NPC &#40;9,NPCstat&#58;picture,36&#41;&#41;
 if &#40;KYLEHP <= &#40;25&#41;&#41; then &#40;  Alter NPC &#40;0,NPCstat&#58;picture,34&#41;,Alter NPC &#40;9,NPCstat&#58;picture,37&#41;&#41;
 if &#40;get hero stat &#40;me,stat&#58;MP,current stat&#41; == &#40;3&#41;&#41; then &#40;  Set NPC direction &#40;0,up&#41;&#41;
 if &#40;get hero stat &#40;me,stat&#58;MP,current stat&#41; == &#40;2&#41;&#41; then &#40;  Set NPC direction &#40;0,right&#41;&#41;
 if &#40;get hero stat &#40;me,stat&#58;MP,current stat&#41; == &#40;1&#41;&#41; then &#40;  Set NPC direction &#40;0,down&#41;&#41;
 if &#40;get hero stat &#40;me,stat&#58;MP,current stat&#41; == &#40;0&#41;&#41; then &#40;  Set NPC direction &#40;0,left&#41;&#41;
 if &#40;KYLEHP <= &#40;0&#41;&#41; then &#40; KYLEHP &#58;= 99 , death , exit script &#41;
 delete item &#40;item&#58;TIMER,1&#41;
These steps quickly check the hero's hp and mp, then alter a pair of NPCs to visually display changes in the hero's status. This is mostly the "color scale" warning used throughout Arcadia Incident of blue-yellow-red. MP is a simpler check of simply rotating one NPC roundabout to display how many grenades/flashbangs the player has left. It also starts the death script if the player's HP ever drops below zero. Finally, it removes ONE item called "timer", which is integral to how often enemies can attack you (it's the period of invincibility you get, and you CAN remove it!)

Code: Select all

#process FOE hp
 if &#40;FOE10HP == 3&#41; then &#40;set NPC direction &#40;20,up&#41;&#41;
 if &#40;FOE10HP == 2&#41; then &#40;set NPC direction &#40;20,right&#41;&#41;
 if &#40;FOE10HP == 1&#41; then &#40;set NPC direction &#40;20,down&#41;&#41;
 if &#40;FOE10HP <= 0&#41; then &#40;destroy NPC &#40;20&#41;,FOE10,FOE10HP &#58;= 3
  get money &#40;2&#41;
  play sound &#40;random &#40;13,15&#41;,false,true&#41;
  give experience &#40;hero&#58;kyle,1&#41;&#41;
This sequence will get repeated no more and no less than ten times with different NPCs. It tracks how much health a given foe has, and alters its own lifebar graphic accordingly. Once the NPC drops to zero hp or less, it kills the graphic, runs the foe self destruction script, gives you a little money, experience, and makes this particular enemy do one of three scream sound effects. Nifty. Fast, too.

Code: Select all

 if &#40;FOE11HP == 3&#41; then &#40;set NPC direction &#40;21,up&#41;&#41;
 if &#40;FOE11HP == 2&#41; then &#40;set NPC direction &#40;21,right&#41;&#41;
 if &#40;FOE11HP == 1&#41; then &#40;set NPC direction &#40;21,down&#41;&#41;
 if &#40;FOE11HP <= 0&#41; then &#40;destroy NPC &#40;21&#41;,FOE11,FOE11HP &#58;= 3
  get money &#40;2&#41;
  play sound &#40;random &#40;13,15&#41;,false,true&#41;
  give experience &#40;hero&#58;kyle,1&#41;&#41;
 if &#40;FOE12HP == 3&#41; then &#40;set NPC direction &#40;22,up&#41;&#41;
 if &#40;FOE12HP == 2&#41; then &#40;set NPC direction &#40;22,right&#41;&#41;
 if &#40;FOE12HP == 1&#41; then &#40;set NPC direction &#40;22,down&#41;&#41;
 if &#40;FOE12HP <= 0&#41; then &#40;destroy NPC &#40;22&#41;,FOE12,FOE12HP &#58;= 3
  get money &#40;2&#41;
  play sound &#40;random &#40;13,15&#41;,false,true&#41;
  give experience &#40;hero&#58;kyle,1&#41;&#41;
 if &#40;FOE13HP == 3&#41; then &#40;set NPC direction &#40;23,up&#41;&#41;
 if &#40;FOE13HP == 2&#41; then &#40;set NPC direction &#40;23,right&#41;&#41;
 if &#40;FOE13HP == 1&#41; then &#40;set NPC direction &#40;23,down&#41;&#41;
 if &#40;FOE13HP <= 0&#41; then &#40;destroy NPC &#40;23&#41;,FOE13,FOE13HP &#58;= 3
  get money &#40;2&#41;
  play sound &#40;random &#40;13,15&#41;,false,true&#41;
  give experience &#40;hero&#58;kyle,1&#41;&#41;
 if &#40;FOE14HP == 3&#41; then &#40;set NPC direction &#40;24,up&#41;&#41;
 if &#40;FOE14HP == 2&#41; then &#40;set NPC direction &#40;24,right&#41;&#41;
 if &#40;FOE14HP == 1&#41; then &#40;set NPC direction &#40;24,down&#41;&#41;
 if &#40;FOE14HP <= 0&#41; then &#40;destroy NPC &#40;24&#41;,FOE14,FOE14HP &#58;= 3
  get money &#40;2&#41;
  play sound &#40;random &#40;13,15&#41;,false,true&#41;
  give experience &#40;hero&#58;kyle,1&#41;&#41;
 if &#40;FOE15HP == 3&#41; then &#40;set NPC direction &#40;25,up&#41;&#41;
 if &#40;FOE15HP == 2&#41; then &#40;set NPC direction &#40;25,right&#41;&#41;
 if &#40;FOE15HP == 1&#41; then &#40;set NPC direction &#40;25,down&#41;&#41;
 if &#40;FOE15HP <= 0&#41; then &#40;destroy NPC &#40;25&#41;,FOE15,FOE15HP &#58;= 3
  get money &#40;2&#41;
  play sound &#40;random &#40;13,15&#41;,false,true&#41;
  give experience &#40;hero&#58;kyle,1&#41;&#41;
 if &#40;FOE16HP == 3&#41; then &#40;set NPC direction &#40;26,up&#41;&#41;
 if &#40;FOE16HP == 2&#41; then &#40;set NPC direction &#40;26,right&#41;&#41;
 if &#40;FOE16HP == 1&#41; then &#40;set NPC direction &#40;26,down&#41;&#41;
 if &#40;FOE16HP <= 0&#41; then &#40;destroy NPC &#40;26&#41;,FOE16,FOE16HP &#58;= 3
  get money &#40;2&#41;
  play sound &#40;random &#40;13,15&#41;,false,true&#41;
  give experience &#40;hero&#58;kyle,1&#41;&#41;
 if &#40;FOE17HP == 3&#41; then &#40;set NPC direction &#40;27,up&#41;&#41;
 if &#40;FOE17HP == 2&#41; then &#40;set NPC direction &#40;27,right&#41;&#41;
 if &#40;FOE17HP == 1&#41; then &#40;set NPC direction &#40;27,down&#41;&#41;
 if &#40;FOE17HP <= 0&#41; then &#40;destroy NPC &#40;27&#41;,FOE17,FOE17HP &#58;= 3
  get money &#40;2&#41;
  play sound &#40;random &#40;13,15&#41;,false,true&#41;
  give experience &#40;hero&#58;kyle,1&#41;&#41;
 if &#40;FOE18HP == 3&#41; then &#40;set NPC direction &#40;28,up&#41;&#41;
 if &#40;FOE18HP == 2&#41; then &#40;set NPC direction &#40;28,right&#41;&#41;
 if &#40;FOE18HP == 1&#41; then &#40;set NPC direction &#40;28,down&#41;&#41;
 if &#40;FOE18HP <= 0&#41; then &#40;destroy NPC &#40;28&#41;,FOE18,FOE18HP &#58;= 3
  get money &#40;2&#41;
  play sound &#40;random &#40;13,15&#41;,false,true&#41;
  give experience &#40;hero&#58;kyle,1&#41;&#41;
 if &#40;FOE19HP == 3&#41; then &#40;set NPC direction &#40;29,up&#41;&#41;
 if &#40;FOE19HP == 2&#41; then &#40;set NPC direction &#40;29,right&#41;&#41;
 if &#40;FOE19HP == 1&#41; then &#40;set NPC direction &#40;29,down&#41;&#41;
 if &#40;FOE19HP <= 0&#41; then &#40;destroy NPC &#40;29&#41;,FOE19,FOE19HP &#58;= 3
  get money &#40;2&#41;
  play sound &#40;random &#40;13,15&#41;,false,true&#41;
  give experience &#40;hero&#58;kyle,1&#41;&#41;
Told you it would be repeated often.


This whole bit below just looks to see if the hero is invincible, THEN cycles through the enemy collision detection

Code: Select all

if &#40;&#40;inventory &#40;6&#41;&#41;<=0&#41; then &#40;
This checks to see if you have any of those "Timer" items, indicating your invincibility. If you have none, the game will check if you're within range of an enemy.

Code: Select all

     if &#40;&#40;hero-x&#41; -- npc pixel x&#40;10&#41; << 30 &&
          npc pixel x&#40;10&#41; -- &#40;hero-x&#41; << 30 &&
          &#40;hero-y&#41; -- npc pixel y&#40;10&#41; << 30 &&
          npc pixel y&#40;10&#41; -- &#40;hero-y&#41; << 30 &#41; then &#40;if &#40;checktag &#40;tag&#58;INVINCIBLE&#41; == off &#41; then &#40;attacked&#41;&#41;
If the enemy is even remotely close to the player, it'll try and attack them. This segment gets repeated a LOT.

Code: Select all

     if &#40;&#40;hero-x&#41; -- npc pixel x&#40;11&#41; << 30 &&
          npc pixel x&#40;11&#41; -- &#40;hero-x&#41; << 30 &&
          &#40;hero-y&#41; -- npc pixel y&#40;11&#41; << 30 &&
          npc pixel y&#40;11&#41; -- &#40;hero-y&#41; << 30 &#41; then &#40;if &#40;checktag &#40;tag&#58;INVINCIBLE&#41; == off &#41; then &#40;attacked&#41;&#41;

     if &#40;&#40;hero-x&#41; -- npc pixel x&#40;12&#41; << 30 &&
          npc pixel x&#40;12&#41; -- &#40;hero-x&#41; << 30 &&
          &#40;hero-y&#41; -- npc pixel y&#40;12&#41; << 30 &&
          npc pixel y&#40;12&#41; -- &#40;hero-y&#41; << 30 &#41; then &#40;if &#40;checktag &#40;tag&#58;INVINCIBLE&#41; == off &#41; then &#40;attacked&#41;&#41;

     if &#40;&#40;hero-x&#41; -- npc pixel x&#40;13&#41; << 30 &&
          npc pixel x&#40;13&#41; -- &#40;hero-x&#41; << 30 &&
          &#40;hero-y&#41; -- npc pixel y&#40;13&#41; << 30 &&
          npc pixel y&#40;13&#41; -- &#40;hero-y&#41; << 30 &#41; then &#40;if &#40;checktag &#40;tag&#58;INVINCIBLE&#41; == off &#41; then &#40;attacked&#41;&#41;

     if &#40;&#40;hero-x&#41; -- npc pixel x&#40;14&#41; << 30 &&
          npc pixel x&#40;14&#41; -- &#40;hero-x&#41; << 30 &&
          &#40;hero-y&#41; -- npc pixel y&#40;14&#41; << 30 &&
          npc pixel y&#40;14&#41; -- &#40;hero-y&#41; << 30 &#41; then &#40;if &#40;checktag &#40;tag&#58;INVINCIBLE&#41; == off &#41; then &#40;attacked&#41;&#41;

     if &#40;&#40;hero-x&#41; -- npc pixel x&#40;15&#41; << 30 &&
          npc pixel x&#40;15&#41; -- &#40;hero-x&#41; << 30 &&
          &#40;hero-y&#41; -- npc pixel y&#40;15&#41; << 30 &&
          npc pixel y&#40;15&#41; -- &#40;hero-y&#41; << 30 &#41; then &#40;if &#40;checktag &#40;tag&#58;INVINCIBLE&#41; == off &#41; then &#40;attacked&#41;&#41;

     if &#40;&#40;hero-x&#41; -- npc pixel x&#40;16&#41; << 30 &&
          npc pixel x&#40;16&#41; -- &#40;hero-x&#41; << 30 &&
          &#40;hero-y&#41; -- npc pixel y&#40;16&#41; << 30 &&
          npc pixel y&#40;16&#41; -- &#40;hero-y&#41; << 30 &#41; then &#40;if &#40;checktag &#40;tag&#58;INVINCIBLE&#41; == off &#41; then &#40;attacked&#41;&#41;

     if &#40;&#40;hero-x&#41; -- npc pixel x&#40;17&#41; << 30 &&
          npc pixel x&#40;17&#41; -- &#40;hero-x&#41; << 30 &&
          &#40;hero-y&#41; -- npc pixel y&#40;17&#41; << 30 &&
          npc pixel y&#40;17&#41; -- &#40;hero-y&#41; << 30 &#41; then &#40;if &#40;checktag &#40;tag&#58;INVINCIBLE&#41; == off &#41; then &#40;attacked&#41;&#41;

     if &#40;&#40;hero-x&#41; -- npc pixel x&#40;18&#41; << 30 &&
          npc pixel x&#40;18&#41; -- &#40;hero-x&#41; << 30 &&
          &#40;hero-y&#41; -- npc pixel y&#40;18&#41; << 30 &&
          npc pixel y&#40;18&#41; -- &#40;hero-y&#41; << 30 &#41; then &#40;if &#40;checktag &#40;tag&#58;INVINCIBLE&#41; == off &#41; then &#40;attacked&#41;&#41;

     if &#40;&#40;hero-x&#41; -- npc pixel x&#40;19&#41; << 30 &&
          npc pixel x&#40;19&#41; -- &#40;hero-x&#41; << 30 &&
          &#40;hero-y&#41; -- npc pixel y&#40;19&#41; << 30 &&
          npc pixel y&#40;19&#41; -- &#40;hero-y&#41; << 30 &#41; then &#40;if &#40;checktag &#40;tag&#58;INVINCIBLE&#41; == off &#41; then &#40;attacked&#41;&#41;

	&#41;
See?

Code: Select all

    if   &#40;&#40;NPC Y &#40;10&#41; == Hero Y &#40;me&#41;&#41; or &#40;NPC X &#40;10&#41; == Hero X &#40;me&#41;&#41;&#41; then, begin
	Alter NPC &#40;10,NPCstat&#58;move type,NPCmovetype&#58;chaseyou&#41;
    end, else, begin
	Alter NPC &#40;10,NPCstat&#58;move type,NPCmovetype&#58;wander&#41;
    end
This is the enemy "AI", and checks their movements. The basic gist is that if the hero's X or Y coordinates match a given NPC's, then the NPC behavior will change accordingly. If you're in the same x or y axis, this particular foe will try and chase you (as in it's spotted you), but if neither condition is met it'll simply wander around searching for the player. Different enemies can be configured to have different behaviour protocols depending on their x/y position, OR if you're clever they can also have a third or fourth set of behaviors that kick in when they're within a certain DISTANCE of the player. I'd like to cover this at a later date, but for now, this enemy behavior is adequate for a weak foe.

Also this segment will conditionally be repeated, albeit differently for each enemy possible.

Code: Select all

    if   &#40;&#40;NPC Y &#40;11&#41; == Hero Y &#40;me&#41;&#41; or &#40;NPC X &#40;11&#41; == Hero X &#40;me&#41;&#41;&#41; then, begin
	Alter NPC &#40;11,NPCstat&#58;move type,NPCmovetype&#58;chaseyou&#41;
    end, else, begin
	Alter NPC &#40;11,NPCstat&#58;move type,NPCmovetype&#58;wander&#41;
    end 
    if   &#40;&#40;NPC Y &#40;12&#41; == Hero Y &#40;me&#41;&#41; or &#40;NPC X &#40;12&#41; == Hero X &#40;me&#41;&#41;&#41; then, begin
	Alter NPC &#40;12,NPCstat&#58;move type,NPCmovetype&#58;chaseyou&#41;
    end, else, begin
	Alter NPC &#40;12,NPCstat&#58;move type,NPCmovetype&#58;wander&#41;
    end 
    if   &#40;&#40;NPC Y &#40;13&#41; == Hero Y &#40;me&#41;&#41; or &#40;NPC X &#40;13&#41; == Hero X &#40;me&#41;&#41;&#41; then, begin
	Alter NPC &#40;13,NPCstat&#58;move type,NPCmovetype&#58;chaseyou&#41;
    end, else, begin
	Alter NPC &#40;13,NPCstat&#58;move type,NPCmovetype&#58;wander&#41;
    end 
    if   &#40;&#40;NPC Y &#40;14&#41; == Hero Y &#40;me&#41;&#41; or &#40;NPC X &#40;14&#41; == Hero X &#40;me&#41;&#41;&#41; then, begin
	Alter NPC &#40;14,NPCstat&#58;move type,NPCmovetype&#58;chaseyou&#41;
    end, else, begin
	Alter NPC &#40;14,NPCstat&#58;move type,NPCmovetype&#58;wander&#41;
    end 
    if   &#40;&#40;NPC Y &#40;15&#41; == Hero Y &#40;me&#41;&#41; or &#40;NPC X &#40;15&#41; == Hero X &#40;me&#41;&#41;&#41; then, begin
	Alter NPC &#40;15,NPCstat&#58;move type,NPCmovetype&#58;chaseyou&#41;
    end, else, begin
	Alter NPC &#40;15,NPCstat&#58;move type,NPCmovetype&#58;wander&#41;
    end 
    if   &#40;&#40;NPC Y &#40;16&#41; == Hero Y &#40;me&#41;&#41; or &#40;NPC X &#40;16&#41; == Hero X &#40;me&#41;&#41;&#41; then, begin
	Alter NPC &#40;16,NPCstat&#58;move type,NPCmovetype&#58;chaseyou&#41;
    end, else, begin
	Alter NPC &#40;16,NPCstat&#58;move type,NPCmovetype&#58;wander&#41;
    end 
    if   &#40;&#40;NPC Y &#40;17&#41; == Hero Y &#40;me&#41;&#41; or &#40;NPC X &#40;17&#41; == Hero X &#40;me&#41;&#41;&#41; then, begin
	Alter NPC &#40;17,NPCstat&#58;move type,NPCmovetype&#58;chaseyou&#41;
    end, else, begin
	Alter NPC &#40;17,NPCstat&#58;move type,NPCmovetype&#58;wander&#41;
    end 
    if   &#40;&#40;NPC Y &#40;18&#41; == Hero Y &#40;me&#41;&#41; or &#40;NPC X &#40;18&#41; == Hero X &#40;me&#41;&#41;&#41; then, begin
	Alter NPC &#40;18,NPCstat&#58;move type,NPCmovetype&#58;chaseyou&#41;
    end, else, begin
	Alter NPC &#40;18,NPCstat&#58;move type,NPCmovetype&#58;wander&#41;
    end 
    if   &#40;&#40;NPC Y &#40;19&#41; == Hero Y &#40;me&#41;&#41; or &#40;NPC X &#40;19&#41; == Hero X &#40;me&#41;&#41;&#41; then, begin
	Alter NPC &#40;19,NPCstat&#58;move type,NPCmovetype&#58;chaseyou&#41;
    end, else, begin
	Alter NPC &#40;19,NPCstat&#58;move type,NPCmovetype&#58;wander&#41;
    end 
See? Thankfully it's almost over.

Code: Select all

 wait &#40;1&#41;
 &#41;
 exit script
end
And the end of the script. It does the ONE required wait for a loop, then keeps repeating UNTIL the "safe" tag is inevitably activated, then it terminates immediately.

Any hints for how to check "walls" and/or NPC passability would be wonderful.
Post Reply