Need help with XBEE network

Hey guys,
I'm a pyrotechnician and I built a digital firing system to be controlled via a PC serial interface. The system works on an RS485 network at the moment but I'd like to add wireless functionality as well.

The reason I need help is I'd like at least 1 of the modules to be able to act as both a master and slave. So the network could work like this:
[Mod1] [Mod2]
/ /
[Master] - [Mod2] but also like this: [Mod1] - [Mod3] without reconfiguration.
\ \
[Mod3] [Mod4]

The [Mod1] in this case will have a display and interface so if this code be implemented with code, it would just be a matter of switch the module from master to slave via the interface. Ideally, I'd like it work as a master all the time but also receive instructions from the Master. So I guess my question is, is this possible? I'm assuming I'll need to use S2 XBee modules.

Cheers.

If you are using Series 2 XBees, each is configured as Coordinator or Router/End Device. Typically, you use router, so that more devices can be added, but if you don't want one to forward packets, configure it as an end device.

Your concept of master that listens to master is flawed. Why would that XBee have to listen to itself? It knows what it is going to send, so it doesn't make sense for it to need to listen to itself.