Staredit Network > Forums > SC2 Assistance > Topic: Function quick help
Function quick help
Jun 13 2010, 5:12 am
By: Xesh  

Jun 13 2010, 5:12 am Xesh Post #1



Can someone briefly explain Functions and..their function?

Namely what they do..and why I need them. Ive begun work using them but im..a little lost as to why im even using them, kindof like trying to pick up a potato to make light (without knowing strange earth-science)



None.

Jun 13 2010, 7:20 am Jack Post #2

>be faceless void >mfw I have no face

There are probably sites that explain better, because functions aren't SC-specific. Anyway, functions are like triggers, but in code. E.g. if a number equals 6, do this. Else, do that.

If you're just starting out with coding, I'd suggest using the normal trigger editor and only using the text trigger editor a little, until you have more experience.



Red classic.

"In short, their absurdities are so extreme that it is painful even to quote them."

Jun 13 2010, 7:25 am Centreri Post #3

Relatively ancient and inactive

Functions accept an iput and provide an output. More applicably, they are what powers triggers: Triggers are functions in that they accept events and conditions as input and then do something as ouput. Each action is a function with a null input and an output. A custom function would be one that you define with whatever inputs/outputs you'd like.



None.

Jun 13 2010, 8:03 am Xesh Post #4



Ooohh I see. Thanks!



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[06:24 pm]
NudeRaider -- "War nie wirklich weg" 🎵
[03:33 pm]
O)FaRTy1billion[MM] -- o sen is back
[01:53 am]
Ultraviolet -- :lol:
[2024-4-26. : 6: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.
[2024-4-26. : 6: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
[2024-4-26. : 6: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?
[2024-4-26. : 6:49 pm]
Vrael -- Perhaps even here I on the StarEdit Network I could look for some Introductions.
[2024-4-26. : 6:48 pm]
Vrael -- On this Topic, I could definitely use some Introductions.
[2024-4-26. : 6:48 pm]
Vrael -- Perhaps that utilizes cutting-edge technology and eco-friendly cleaning products?
[2024-4-26. : 6: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?
Please log in to shout.


Members Online: Oh_Man, Roy