StructurePortal

From Screeps Wiki
Jump to navigation Jump to search

A portal is a special structure that teleports creeps that step on its same roomPosition to another room. On the MMO, they will randomly appear in a center room and connect to another center room somewhere else on the map. In the case of inter-shard portals, creeps are transported to another shard. Inter-Shard portals are always located in highway crossroads, but not ever crossroads has one. When a creep emerges on the target shard, they will have the same name and ticks-to-live but no memory and a different ID.