Staredit Newtork
Community
StarCraft
Games
Site
Favourites
Burrowed Location

Creator: ZzEzZ
Time: Feb 29 2008, 7:12 pm

Post #1     ZzEzZ Feb 29 2008, 7:12 pm

[Avatar]
 offline contact
Is there a way to detect when a unit is burrowed?

Like for instance, I have a lurker with a location "X" centered on it. When the lurker burrows, I want it to be removed then a turret built in its place. Simple simple, just... i can't figure out a way for the turret to spawn after the lurker burrows instead of right when the lurker spawns.

(lol i tried making the location "low ground" only, just 2 c if itd work... 'twas a no go)
Top

Post #2     y10k Feb 29 2008, 8:09 pm

[Avatar]
 offline contact
Create 1v1 pixel location(x) and preplace a P9 dark templar.
Triggers are preserved and for force1. It only worx if you have 1 lurker.

always
move location 'x' on lurker for currentplayer (cp)
move 1 dt from anywhere to 'x' for P9

P9 brings at least 1 dt to 'x'
move dt to hiddenlocation (y) from anywhere
remove lurker for cp
create 1 turret for cp at 'x'

always
move all dt to 'y'

Note : low ground is level1 terrain like dirt, snow, water, space, grass, raised jungle, sunken pit etc..
medium ground is high dirt, temple, compound, outpost, structure.
high ground is: high temple, high compound, high outpost, high structure.
Air is same for air units.
Top

Post #3     ws-Impeached Feb 29 2008, 8:09 pm

[Avatar]
Beat that horse!
 offline contact
http://www.maplantis.org/index.php?wiki=77
(signature image)
Reverie World Studios Scenario Scripter
Top

Post #4     Falkoner Feb 29 2008, 10:45 pm

[Avatar]
Taking StarCraft Map Making to the Limit!
 offline contact
There have been about 3 burrow detection topics in the past couple of weeks, at least take the time to go back a page or two before posting next time.
Top

Post #5     ZzEzZ Mar 1 2008, 6:04 am

[Avatar]
 offline contact
u mean like this 1 falkoner? http://www.staredit.net/topic/1548/
take the time 2 read the problem b4 crying next time -.-' thats the newest topic i found (without actually reading every topic 1 by 1) that had anything 2 do with burrowing... and that was about 6 pages back... So i appologize for wanting to create my own topic to ask for help in the help section concerning something that i needed help on -.-'

ooo ic ic : ) so thats how you detect a burrow, nice... thx ^^
Top

Post #6     ws-Impeached Mar 1 2008, 6:50 am

[Avatar]
Beat that horse!
 offline contact
Yeah Falk, Maplantis has been having all the burrowing topics, now it's SEN's turn.
(signature image)
Reverie World Studios Scenario Scripter
Top

Post #7     Falkoner Mar 1 2008, 2:54 pm

[Avatar]
Taking StarCraft Map Making to the Limit!
 offline contact
Oh, sorry about that, I switch between both sites, so it seems like I've answered this question 4 times this week..
Top

Post #8     ZzEzZ Mar 1 2008, 9:28 pm

[Avatar]
 offline contact
: ) its k

okok... this is my LAST question (4 now lol)...

is it just me or can doodads not be created/moved during a game?

-I've tried just creating the turret at the location... it didn't spawn (i thought it was spawning before but turns out i wasnt paying close enough attention to what actually happend.... nothing)
-I've tried having the turret pre-placed on the map (P9) then moving it to location 'X' then giving it to the current player... it didnt move

am i just doodadidly challenged or can this not be done?
Top

Post #9     who Mar 1 2008, 9:31 pm

[Avatar]
someone09
 offline contact
you can't move/create doodads with triggers.
turrets are not doodads, and they can't be created in-game. If you preplace turrets, it would crash SC.
(user posted image)
Top

Post #10     Falkoner Mar 1 2008, 9:31 pm

[Avatar]
Taking StarCraft Map Making to the Limit!
 offline contact
You can only create units for players 1-8, preplacing the turrets for the player will not crash SC...
Top

Post #11     who Mar 1 2008, 9:35 pm

[Avatar]
someone09
 offline contact
oh, well I was too lazy to test. -.-
you wouldn't be able to move a turret (not with triggers), would you?
(user posted image)
Top

Post #12     Falkoner Mar 1 2008, 9:41 pm

[Avatar]
Taking StarCraft Map Making to the Limit!
 offline contact
Yes you would... What gave you the idea you couldn't?
Top

Post #13     who Mar 1 2008, 9:51 pm

[Avatar]
someone09
 offline contact
for some reason I thought the goliath's AI commands were different in units.dat, but I checked and it's only the upper commands that have (Subunit) in parentheses, while the right-click-action is still normal movement. Man I'm stupid.
(user posted image)
Top

Post #14     ZzEzZ Mar 1 2008, 10:37 pm

[Avatar]
 offline contact
weird then... because i tried just creating the turret for (current player) and the turret never spawned, but i know my trigger, uhm, 'triggered' because it displayed the text that i wanted it to say when the turret was 'created'

and then, as for the moving one, it was the same thing but they didnt move... heres what i had in the 2 separate scenarios:

---Note: I have the burrow detection trigger active while the following triggers are trying to activate---
* Create turret at X*
Trigger
Players:
¤ All Players

Conditions:
¤ Player 10 brings at least 1 DT to X

Actions:
¤ Move one DT for Player 10 at Anywhere to KMHU
¤ Remove one Lurker for current player
¤ Crate 1 Turret at X for Current Player
¤ Display text: Blah
¤ Preserve trig

--------------------------------------------------------------------------------------------------------
*Move turret to X*
Trigger
Players:
¤ All Players

Conditions:
¤ Player 10 brings at least 1 DT to X

Actions:
¤ Move one DT for Player 10 at Anywhere to KMHU
¤ Remove one Lurker for current player
¤ Move 1 Turret for Player 9 at KMHU to X
¤ Give all Turret owned by Player 9 at X to Current Player
¤ Display text: Blah
¤ Preserve trig

>.<
This post was edited 12 times, last edit by ZzEzZ: Mar 1 2008, 11:05 pm.
Top

Post #15     who Mar 1 2008, 11:10 pm

[Avatar]
someone09
 offline contact
you can't create units for P10. even though the conditions were met, the unit wasn't created
(user posted image)
Top

Post #16     NudeRaider Mar 1 2008, 11:16 pm

[Avatar]
Write your own destiny, or else someone will write it for you!
 offline contact
There are some units that cant be created (e.g. aldaris (templar hero) or zerg eggs) obviously turrets are belonging to that group.

Preplace them at some remote location and move them to their destination when needed.
(signature image)
http://sonsofwar.pyrom.net/index.html___0% (user posted image) 100%
Top

Post #17     y10k Mar 1 2008, 11:52 pm

[Avatar]
 offline contact
I had already written how to create a turret when you burrow a lurker T_T
Top

Post #18     Falkoner Mar 2 2008, 1:33 am

[Avatar]
Taking StarCraft Map Making to the Limit!
 offline contact
NUDE! What the heck you are talking about!? Only units/players that cannot be placed in the normal editor(except Start Locations) cannot be created via triggers!

If the current player is All Players, you might get some glitched attempting to create it, you are trying to create a bunker for each of the 8 players.. Try making a separate trigger for each player.
Top

Post #19     NudeRaider Mar 2 2008, 1:37 am

[Avatar]
Write your own destiny, or else someone will write it for you!
 offline contact
Wait, what are we talking about?
Missile Turrets or Goli/Tank Turrets?
My reply referred to the latter.
(signature image)
http://sonsofwar.pyrom.net/index.html___0% (user posted image) 100%
Top

Post #20     [Vi3t-X]:] Mar 2 2008, 1:43 am

[Avatar]
Requiem™
 online contact
lawlz, placing gol/tank turrets crash the game. You crazy boi!

You can only preplace for units 1-8, however, you could always just GIVE the building to p9-12 (13-255 are screwy and need additional testing - moreso)
Random Puzzle:
So I saw this guy who jumped out of the window of a 10 story building. I don't know how, but he survived...

Previous Winner: Hug A Zergling.

Mafia Information: To avoid controversy, my previous Avatar was Rikku, and my previous siggy was two links, one to a rickroll video, and the other to Hikari's theme song.
Top
0 members in this topic: None
+ 1 guest(s)


[11:53 pm]
[Vi3t-X]:] -- http://www.staredit.net/?p=modnight Download #1, go to ShadowFlare, help test random stuff. :P
[11:47 pm]
[lil-Inferno]:] -- True Farty.
[11:44 pm]
Corbo[MM] -- MA Stands for I SUCK
[11:42 pm]
O)FaRTy1billion[MM] -- yours starts with [lil and not lil, so you are ok.
[11:41 pm]
[lil-Inferno]:] -- lil- stands for lil, but people whose SEN names start with lil- are nubs LOL!
[11:38 pm]
[Echo]:] -- cafg lags
[11:18 pm]
[Echo]:] -- LOL MA STANDS FOR MEANINGLESS and not an Architect
You must log in to shout.

©2003-2008 Staredit Network.
Starcraft & Starcraft II are trademarks of Blizzard Entertainment.
Site Index   |   Terms of Service   |   Privacy Policy   |   Contributions