In the data editor your unit has a data field called Weapons+, remove anything there and he has no weapon to attack, if you want the unit to be able to attack but not acquire targets on it's own, under the unit in the Data Editor there is a field called "Default Acquire Level", you can change that to none and it won't acquire targets on it's own.
Basically, you want to change the Impact Effect of the Spine Crawler (Launch Missile) effect to a custom effect of the type "Set" (create a new object of the effect type set). Now you can make this effect apply two effects, both the damage effect of your choosing and the Marauder Slow effect! Hope that helped :)
I have been recreating the popular "Snake" in the editor. Now, the problem is I want to detect "eating" by attaching a region to my "snake head", and any enemy unit entering will be eaten, adding a snake segment. I am having trouble attaching the region properly, as I want to do with a polar offset, so the eating region is always in front of the snake head, but whenever I try to attach it with an offset of a point with a polar offset, the region just seems to go somewhere weird (tried creating things in the region, they never appeard anywhere as far as I could tell). Here is the little snippet of code that's supposed to attach the region:
There is a function which converts a player into a player group, allowing you to apply something to only one player.
I believe it's called "Convert Player to Player Group"
0
In the data editor your unit has a data field called Weapons+, remove anything there and he has no weapon to attack, if you want the unit to be able to attack but not acquire targets on it's own, under the unit in the Data Editor there is a field called "Default Acquire Level", you can change that to none and it won't acquire targets on it's own.
0
I will try my best to explain.
Basically, you want to change the Impact Effect of the Spine Crawler (Launch Missile) effect to a custom effect of the type "Set" (create a new object of the effect type set). Now you can make this effect apply two effects, both the damage effect of your choosing and the Marauder Slow effect! Hope that helped :)
0
Howdy,
I have been recreating the popular "Snake" in the editor. Now, the problem is I want to detect "eating" by attaching a region to my "snake head", and any enemy unit entering will be eaten, adding a snake segment. I am having trouble attaching the region properly, as I want to do with a polar offset, so the eating region is always in front of the snake head, but whenever I try to attach it with an offset of a point with a polar offset, the region just seems to go somewhere weird (tried creating things in the region, they never appeard anywhere as far as I could tell). Here is the little snippet of code that's supposed to attach the region:
This doesn't work at all, so how would I go about doing this? There is no such thing as an attach region with polar offest?
0
There is a function which converts a player into a player group, allowing you to apply something to only one player. I believe it's called "Convert Player to Player Group"