Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: <SOLVED> Giving cloaking ability to other units
<SOLVED> Giving cloaking ability to other units
Oct 23 2022, 1:57 pm
By: Psilance  

Oct 23 2022, 1:57 pm Psilance Post #1



EDIT FINAL: Giving marine cloak by forcing cloaking using secondaryOrderID. Learned it thanks to a post by some user called farty.

I used EUD Editor 3 version 0.14.2.1:

Trigger > Action
1. SetNextUnitPtrEpd -> Select a global variable you created for this purpose (idk what ptr and epd is so I used both).
2. CreateUnit -> Choose 1 of whatever unit you want but know that the global variable you chose before will refer to this unit.
3. SetCUnitepd -> Choose the global variable from before + secondaryOrderID + 109 + set to

In my example I named the global variable "Terr"

To turn off the cloak
SetCUnitepd -> Choose the global variable from before + secondaryOrderID + 110 + set to

109 and 110 are order IDs and there is a list here: http://farty1billion.dyndns.org/EUDDB/?pg=ref&a=orders

///////////////////// Old post:
I've been playing around in EUD Editor 3 trying on my own because I can't find any tutorials except for this one: https://github.com/Ar3sgice/eudtools/wiki/EUD-Tutorial:-How-to-make-units-other-than-spellcasters-cast-spells

But it's not a hold-your-hand-tutorial even though I understand it I don't know how he does it in the program like it is shown in the tutorial.


Is there a better tutorial and if not can somebody explain what he does at the EUD Editor 3 part at the end?

As an example in my struggle: It starts with some Korean and "Hydra" which translates to "Declare the variable Hydra".
How is that done?

then it goes to "onPluginStart".
so I would think there is a function/condition like that in the trigger editor but I couldn't find it.

So I continue in the code to "Set Animation value for Cast Disruption Web : SetTo 3".
And ofc I am just lost at this point.


Progress: I've gotten far enough to realize he is writing it in "Only Code" mode. And I've written "function onPluginStart" but then the tutorial shows two words that translates to "Arguments" and "Content".

It might help me to know which programming language this is. I've never seen anything like it. Looks like C++ with spacings for parameters and content and no () {}.

Post has been edited 11 time(s), last time on Oct 24 2022, 2:04 pm by Psilance.



None.

Oct 23 2022, 3:53 pm Psilance Post #2



EDIT: My hydralisk now casts lightning. Though I still don't understand the code especially the "hydra" parts. If anyone want to explain what is going on I'd appreciate it.

How does the "Set Hydra to next unit created" work? And have I done it correctly as seen in the image I've posted below? I've used the "SetNextUnitPtrEpd" and selected a global variable called Hydra because I didn't know how to declare a new variable in ez mode.

I've gotten some of the code down with the ez-mode, needless to say it doesn't do much if anything:




EDIT: I have discovered secondaryOrderId thanks to another post.

Post has been edited 6 time(s), last time on Oct 24 2022, 5:18 am by Psilance.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[06:51 pm]
Vrael -- It is, and I could definitely use a company with a commitment to flexibility, quality, and customer satisfaction to provide effective solutions to dampness and humidity in my urban environment.
[06:50 pm]
NudeRaider -- Vrael
Vrael shouted: Idk, I was looking more for a dehumidifer company which maybe stands out as a beacon of relief amidst damp and unpredictable climates of bustling metropolises. Not sure Amazon qualifies
sounds like moisture control is often a pressing concern in your city
[06:50 pm]
Vrael -- Maybe here on the StarEdit Network I could look through the Forums for some Introductions to people who care about the Topics of Dehumidifiers and Carpet Cleaning?
[06:49 pm]
Vrael -- Perhaps even here I on the StarEdit Network I could look for some Introductions.
[06:48 pm]
Vrael -- On this Topic, I could definitely use some Introductions.
[06:48 pm]
Vrael -- Perhaps that utilizes cutting-edge technology and eco-friendly cleaning products?
[06:47 pm]
Vrael -- Do you know anyone with a deep understanding of the unique characteristics of your carpets, ensuring they receive the specialized care they deserve?
[06:45 pm]
NudeRaider -- Vrael
Vrael shouted: I've also recently becoming interested in Carpet Cleaning, but I'd like to find someone with a reputation for unparalleled quality and attention to detail.
beats me, but I'd make sure to pick the epitome of excellence and nothing less.
[06:41 pm]
Vrael -- It seems like I may need Introductions to multiple companies for the Topics that I care deeply about, even as early as Today, 6:03 am.
[06:38 pm]
Vrael -- I need a go-to solution and someone who understands that Carpets are more than just decorative elements in my home.
Please log in to shout.


Members Online: Roy