[Ace] Cannot move with Visibility Range? [Solved]

EternalShadow

Veteran
Veteran
Joined
Sep 16, 2012
Messages
5,781
Reaction score
1,041
First Language
English
Primarily Uses
I can’t seem to get this to work – my player just never moves, even though the darkness is there, there are no parallel or autorun processes that should stop me moving, the tilesets are passable, it is a new game file – what could be going wrong?

EDIT: On-map enemies can still move??

http://galvs-scripts.com/2013/05/30/visibility-range/

I've got this setup:

#------------------------------------------------------------------------------#

#  SETTINGS - Don't forget to set these to unused variables and switch!

#------------------------------------------------------------------------------#

 

  SWITCH = 99      # This switch turns the visibility range on/off. Default OFF

 

  SIZEVAR = 10      # This variable controls how far player can see. Default 100

 

  OPACITYVAR = 255  # This variable controls the darkness opacity.   Default 255

   

   

  Z_LEVEL = 10      # Make this higher or lower to change the z level 

                   # (to make it appear above or below other stuff)

 

 

 

 

But my character can't move once they enter the room where the range is switched on :|

 

Can anyone shed any light (haha I'm hilarious) on this?
 
Last edited by a moderator:

Nathan Frost

... only the world's greatest Secret Agent.
Veteran
Joined
Sep 23, 2014
Messages
243
Reaction score
74
First Language
English
Primarily Uses
You don't have another process tied to those switches or variables do you?
 

EternalShadow

Veteran
Veteran
Joined
Sep 16, 2012
Messages
5,781
Reaction score
1,041
First Language
English
Primarily Uses
You don't have another process tied to those switches or variables do you?
No, and there is nothing switching anything else on either. Only the visibility range/variable for the light range are being turned on.
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,355
Reaction score
7,669
First Language
German
Primarily Uses
RMMV
Does the map/room use a custom tileset? If yes, is the first tile in the B slot set to star passability?


The first B tile has to be set to star or all passabilities on all maps using that tileset will be broken - and that has nothing to do with any script.
 
Last edited by a moderator:

EternalShadow

Veteran
Veteran
Joined
Sep 16, 2012
Messages
5,781
Reaction score
1,041
First Language
English
Primarily Uses
Does the map/room use a custom tileset? If yes, is the first tile in the B slot set to star passability?

The first B tile has to be set to star or all passabilities on all maps using that tileset will be broken - and that has nothing to do with any script.
The map works totally fine without the script being switched on, it's nothing to do with the tileset :)
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,355
Reaction score
7,669
First Language
German
Primarily Uses
RMMV
Then most probably those switches are used for something else as well (just like suggested a few posts above), you just don't remember that other use.


Simple way to test that: change the maximum number of switches by adding one, change the script to use the new switch instead of the switch # 99 (as the new switch can't have any previous function) and then test again.


If it suddenly works, then start hunting what else was switched on by switch #99 (don't ignore it, it might be that more than one function, switch or variable was used double by the same script or event.
 
Last edited by a moderator:

EternalShadow

Veteran
Veteran
Joined
Sep 16, 2012
Messages
5,781
Reaction score
1,041
First Language
English
Primarily Uses
Then most probably those switches are used for something else as well (just like suggested a few posts above), you just don't remember that other use.

Simple way to test that: change the maximum number of switches by adding one, change the script to use the new switch instead of the switch # 99 (as the new switch can't have any previous function) and then test again.

If it suddenly works, then start hunting what else was switched on by switch #99 (don't ignore it, it might be that more than one function, switch or variable was used double by the same script or event.
That seems to have fixed it! For some strange reason, switch 99 doesn't work - so I'm going to have to check all the other scripts to see if there was something that inadvertently used it (maybe in a default setting?) but 101 does! Thanks :D

EDIT: Facepalm. Yanfly Stop Player Movement Switch was set to 99 -.-
 
Last edited by a moderator:

Nathan Frost

... only the world's greatest Secret Agent.
Veteran
Joined
Sep 23, 2014
Messages
243
Reaction score
74
First Language
English
Primarily Uses
That seems to have fixed it! For some strange reason, switch 99 doesn't work - so I'm going to have to check all the other scripts to see if there was something that inadvertently used it (maybe in a default setting?) but 101 does! Thanks :D

EDIT: Facepalm. Yanfly Stop Player Movement Switch was set to 99 -.-
Dang it, I told you. :p lol Glad you fixed it.
 

Deathspecter

Veteran
Veteran
Joined
Nov 7, 2014
Messages
126
Reaction score
34
First Language
Portuguese
Primarily Uses
Damn it, you all beat me to it.

And by the way this is why I have all script and common event switch sorted from 4999 to bottom and the rest from 1 to top  :D  That way I make no mistakes  :)
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

How many parameters is 'too many'??
Yay, now back in action Happy Christmas time, coming back!






Back in action to develop the indie game that has been long overdue... Final Fallacy. A game that keeps on giving! The development never ends as the developer thinks to be the smart cookie by coming back and beginning by saying... "Oh bother, this indie game has been long overdue..." How could one resist such? No-one c
So I was playing with filters and this looked interesting...

Versus the normal look...

Kind of gives a very different feel. :LZSexcite:
To whom ever person or persons who re-did the DS/DS+ asset packs for MV (as in, they are all 48x48, and not just x2 the pixel scale) .... THANK-YOU!!!!!!!!! XwwwwX

Forum statistics

Threads
105,853
Messages
1,016,990
Members
137,562
Latest member
tamedeathman
Top