JASS: Basic

emjlr3

Change can be a good thing
Reaction score
395
it got to the same point, w/o making you read for an hour like his did, maybe should rename short JASS tut. for begginers

in anycase, it will hlep new ppl, but does look strikingly similar to Vex's

+rep to try and offset Conans
 
W

Warnicro

Guest
I added a reputation point to you 56k'er

Question: when is the next part gonna be out?
 

emjlr3

Change can be a good thing
Reaction score
395
AceHart said:
> does look strikingly similar to Vex's

Isn't that somewhat normal for an introduction to one same subject? :p


true, but ( without me looknig back over both of them because I am lazy) it seemed as though he used the same exact examples as Vex did, which is the biggest part seen in the Tut.
 
E

equal

Guest
Function GetPercent takes integer i, integer i2 returns integer
Return i/i2*100
Endfunction

do i get it right that this will return the intreger i manipulated?

Function GetPercent takes integer i, integer i2 returns integer
Return i/i2*100
Return i2*5
Endfunction

and here both will be returned manipulated?

Function GetPercent takes integer i, integer i2 returns integer
Return i2*5
Endfunction

and here only the i2 intreger?

(if this is right i get it , the basics of JASS)
 

AceHart

Your Friendly Neighborhood Admin
Reaction score
1,495
> and here both will be returned manipulated?

The function will end at the first return.
The second one will never run or do anything.


Yes for the other two.
 
E

equal

Guest
so a function can only return 1 intreger?

Function GetPercent takes integer i, integer i2 returns integer
Return i/i2*100, i2*5
Endfunction

or is this a possible way?

thx for HELP:)
 

SFilip

Gone but not forgotten
Reaction score
634
> so a function can only return 1 intreger?
Yes.
You may set some global variable inside it though, depending on what you're trying to do.
 
E

equal

Guest
very much help , 10x alot,

now i just get a little bit more in my head :banghead:

i dont try nothing just learning the basics of jass ^^ it isnt that hard ....
you just need some one to help you out of your spezific questions every1 has...
 
S

SquirrelyCat

Guest
Nullified? Ok, don worry...it's dead now...

psh...memory leaks r ez to fix, just null the darn vars, lol
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top