# Revision history [back]

Do I understand correctly, that you are using the example from this article? And the elevator is dependent on OccupiedEvent plugin. If you search through the documentation of this plugin, you will find those lines

<plugin filename="libSimEventsPlugin.so" name="event_plugin">
<region>
<name>region1</name>
<volume>
<min>1.5 -1 0</min>
<max>2.5 1 1</max>
</volume>
</region>

<event>
<name>region1_event</name>
<type>occupied</type>
<topic>~/elevator</topic>
<region>region1</region>
<msg_data>0</msg_data>
</event>


</plugin>

As you can see, apart of the plugin controlling the elevator behavior, you use also plugin giving the information to the elevator plugin. Unless you eidted also the region1, the elevator still scans the presence of an object at the original area.

You would need to edit the region1 coordinates to match the exit of your shifted elevator.

Do I understand correctly, that you are using the example from this article? And the elevator is dependent on OccupiedEvent plugin. If you search through the documentation of this plugin, you will find those lines

 <plugin filename="libSimEventsPlugin.so" name="event_plugin">
<region>
<name>region1</name>
<volume>
<min>1.5 -1 0</min>
<max>2.5 1 1</max>
</volume>
</region>

<event>
<name>region1_event</name>
<type>occupied</type>
<topic>~/elevator</topic>
<region>region1</region>
<msg_data>0</msg_data>
</event>
</plugin>


</plugin>

As you can see, apart of the plugin controlling the elevator behavior, you use also plugin giving the information to the elevator plugin. Unless you eidted edited also the region1, the elevator still scans the presence of an object at the original area.

You would need to edit the region1 coordinates to match the exit of your shifted elevator.