iPhone App Directory
RPG Maker VX
 
Gallery Members Search Calendar Help


Welcome Guest ( Log In | Register )

Collapse

>Announcement

Keep an eye out for the upcoming 3rd Quarter Contest!
 
Reply to this topicStart new topic
> Turning on and off map troops with events.
Risusen
post Apr 16 2012, 12:05 AM
Post #1



Group Icon


Type: Undisclosed




So I took at a look at this thread and fixed the minor error: http://www.rpgmakervx.net/lofiversion/index.php/t21097.html

However, as I implement this script to run with an event I have, I get a

line 23: NoMethodError occurred.
undefined method 'encounter_list" for []:Array

I opened up a new clean project, ran the demo with only that script, and it failed too, giving me the same message.

I am trying to make an event that can be triggered to add a troop encounter in the map. So for example, I have a map with no troop encounters, but I want to make an event where when it activates, there will be troop encounters. However, it is not working so well.
My question is that if there is anything wrong with the script, what is it? If it is my fault, what did I do?

Note: I tried the unaltered script, and it still did not work.

EDIT: I might just use the "Change encounter" setting within the event commands if all else fails.

This post has been edited by Risusen: Apr 16 2012, 12:15 AM
Go to the top of the page
 
+Quote Post
   

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 23rd September 2014 - 07:26 AM

RPGMakerVX.net is an Privacy Policy, Legal.