I made a map (like a beach), and i would like my units to have a buff applied when they walk in water or when they are in a certain area ... how do i do that ?
Also, can i make a cliff with a hole under it, so units can pass under, like a kind of bridge ?(i know there are some bridges in the doodads too)
In the same idea, can i make "floating" parts on a map ? Like a flying rock or even a floating island ???
1. There currently is not non actor related way of determining if the unit is on water or not. Best there is is a SOp that adjusts the height of the actor to that of the water plane. Maybe having your actor offset below ground and using the SOp (Higher Of Terrain And Water) SOp after the offset in the SOp list will solve the issue.
2. Just use doodads without a footprint to create the illusion of a path. If you want several overlapping layers of movement you need buffs to adjust the visual height of the units. For complex solutions you need to tuse triggers to alter the Movement - Collide field of units.
3. You can have pathable footprints and this has been used two years ago for the one demo of falling platforms. Like bridges footprints can enable or prevent collision.
Rollback Post to RevisionRollBack
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
Now, i just made 95 zones (every where where i have my water), and i added my event : "When any units enters X" ==> Apply buff : X
The problem is, i don't want to copy my event 95 times ... can i make a folder or something like that that would select ALL the regions i want in one event ?
Hi !
I made a map (like a beach), and i would like my units to have a buff applied when they walk in water or when they are in a certain area ... how do i do that ?
Also, can i make a cliff with a hole under it, so units can pass under, like a kind of bridge ?(i know there are some bridges in the doodads too)
In the same idea, can i make "floating" parts on a map ? Like a flying rock or even a floating island ???
Your help is once again appreciated guys !
anyone ? D:
@MacSC2: Go You can create a region and use triggers to check when a unit enters that regions to apply a buff.
@SoulFilcher: Go
Wow ... i'm so fucking stupid ! of course i could try triggers, thanks for the help.
For the flying island, do you know how to do it ? (like in the challenge of the art section)
1. There currently is not non actor related way of determining if the unit is on water or not. Best there is is a SOp that adjusts the height of the actor to that of the water plane. Maybe having your actor offset below ground and using the SOp (Higher Of Terrain And Water) SOp after the offset in the SOp list will solve the issue.
2. Just use doodads without a footprint to create the illusion of a path. If you want several overlapping layers of movement you need buffs to adjust the visual height of the units. For complex solutions you need to tuse triggers to alter the Movement - Collide field of units.
3. You can have pathable footprints and this has been used two years ago for the one demo of falling platforms. Like bridges footprints can enable or prevent collision.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
@DrSuperEvil: Go
Ok thanks alot,
Now, i just made 95 zones (every where where i have my water), and i added my event : "When any units enters X" ==> Apply buff : X
The problem is, i don't want to copy my event 95 times ... can i make a folder or something like that that would select ALL the regions i want in one event ?
Help !!!
@MacSC2: Go You can select all reginos and merge them into one, so you need only one event.
@SoulFilcher: Go
OMG i love you ! Thanks bro !!!
You read the thread about making naval units?
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
@DrSuperEvil: Go
no 3: