Are you trying to imitate the fountain in DotA ?
Well, basically that fountain is a normal structure that has Life/Mana Regenaration Aura, that's all.
Such as Ziggurat and others, they are structures as well, but they can attack, only the addition is the ability of Life/Mana Regen.
Also, you can take default units and just change their model into fountain, easy enough.
You have to set where is your secret place first and use this trigger;
- Melee Initialization
- Events
- Player - Player 1 (Red) types a chat message containing -go as A substring
- Conditions
- Actions
- Set udg_YourLocation = (Center of (Playable map area))
- Unit - Move WhatIsYourUnit instantly to YourLocation
- Custom script: call RemoveLocation(udg_YourLocation)
In this case, no need.
And also, the location I set in the trigger is just an example.
You should create a Region (using Regions Palette) and set the location according to the region (your Secret Place)
- Melee Initialization
- Events
- Player - Player 1 (Red) types a chat message containing -go as A substring
- Conditions
- Actions
- Set udg_YourLocation = (Center of Region 0000 <gen>)
- Unit - Move YourUnit instantly to YourLocation
- Custom script: call RemoveLocation(udg_YourLocation)