View Full Version : Can buildings be teleported ?
TheHollow
05-11-2006, 5:31 PM
Im not sure why I can't seem to get a few buildings to teleport, maybe it can't be done, maybe it can be but w/e the case is some feedback would be greatly appreciated - thank you for your time.
- Peanutbutter Monster.
MidnightGladius
05-11-2006, 5:36 PM
Is this with triggers or modding? If the former, you just have to make sure your target terrain is capable of holding that building.
If modding, then I'm a bit unsure of what you're trying to accomplish.
TheHollow
05-11-2006, 5:44 PM
here's the situation it's a spell in my RPG im making so you should assume the following - here's the actions/conditons of the trigger ive set up - and it's for terrain not modding :)
Condition: X player brings selector to X beacon/location
Action: Give all units owned by player X at location X to player X
Action2: Move all units owned by player X at location X to location X
Im not sure if im not doing something right or what, but if i am please let me know :)
Neu(t)ral Damage
05-11-2006, 5:53 PM
Do you mean?:
Condition: X player brings selector to X beacon/location
Action: Give all units owned by player X at location X to player X
Action2: Move all units owned by player X at location X to location X
crystal679
05-11-2006, 5:55 PM
Action: X player brings selector to X beacon/location
Condition: Give all units owned by player X at location X to player X
Condition2: Move all units owned by player X at location X to location X
perhaps...
Condition: Player X brings selector to location Y
Action: Give all buildings owned by player X at location Z to Player Y.
Action: Move all buildings owned by player Y at location Z to location N.
Action: Give all Buildings owned by Player Y at location N to Player X,
TheHollow
05-11-2006, 6:00 PM
Hmmmm
Why would i return the buildings to player X once moved ? i need them to stay with player Y for a short time then return them to the location they were before.
i havnt yet bothered getting that far into the trigger because i can't get buildings to teleport at all yet once ive seen it done then ill complete the trigger.
i've also stacked the buildings ontop of eachother so when they do teleport they're still stacked.
The location im trying to get the buildings to teleport to is a moving location placed over a units head.
thanks for the posts so far :)
MidnightGladius
05-11-2006, 6:41 PM
Ah...I see the problems now.
First of all, if you stack buildings and trigger move them, they will unstack through the action. That means you're going to have a very large area of buildings, which is probably not what you want.
Also, since the location is a moving one, it's possible that sometimes the terrain the unit is on won't allow for buildings to exist there, unless it's a Terran flying building set in transit.
TheHollow
05-11-2006, 7:00 PM
Well i can't even get buildings to be created at all even when i seem to be doing everything right, maybe it cant be done. ive changed things so a cannon and pylon should be created instead of teleported and still nothing happens whats going on with this ? i dunno im kinda depressed about it actually lol as lame as it seems.
A map would do wonders, 'Hollow... but wth, we all 'round here seem to be enjoying 'the guess that mapping problem quiz' gameshow. :rolleyes:
Next, who's gonna bet that the location is over some unplacable terrain that can't even create buildings there? :P (Nah, I don't really believe it. ;))
frazz
05-13-2006, 12:04 AM
I'm not sure if you can really move all the buildings to a location, because it might try to place them all in one spot, rather than keeping them equally spaced.
I'm not sure if you can really move all the buildings to a location, because it might try to place them all in one spot, rather than keeping them equally spaced.
Provided the location is big enough to have more than one building moved there, yes it'll work. The way locations work is rather straight forward, stuff tend to clump from the center of it to the edges of it somewhat in a concentric pattern way. ;)
vBulletin® v3.7.2, Copyright ©2000-2008, Jelsoft Enterprises Ltd.