vJass/Jass newgen

Genyuumaru

New Member
Reaction score
15
Okay can somebody tell me what's vJass or Jass newgen, what privilegues do they offer and how to install them?

Also, what is Jass helper and where can I get a list of all possible functions?

For example the timer function that allows you to run a function.

Is it TimerStart or StartTimer?

Anyway I want to be able to do like this:

TimerStart(t,0.1,true,function SendLocals(u,s))

To transfer locals to other functions from this timer function.

Someone told me I need to use handlevars, but what are those?

+ How to remove all leaks with timers?
 

Viikuna

No Marlo no game.
Reaction score
265
NewGen
JassHelper
JassHelper Manual

There is function list in NewGen, use it to find all those functions you need.


To transfer data to timers, you need to store your data to struct and use some fancy system like TT or TimerUtils.

use CSSafety ( it comes with TimerUtils ) to recycle your timer, this way you dont leak your timers.
 

Vexorian

Why no custom sig?
Reaction score
187
No. Don't use CSSafety, use only TimerUtils, The CSSafety that comes with TimerUtils is only there so old spells and systems that used CSSafety can use TimerUtils.
 

Genyuumaru

New Member
Reaction score
15
Omg, it's Vexorian!!! Happy day :D And from what I understand TimerUtils allows to attach numbers, but what about units?
 

Flare

Stops copies me!
Reaction score
662
Omg, it's Vexorian!!! Happy day :D And from what I understand TimerUtils allows to attach numbers, but what about units?

That's what you use a struct for - the unit can be a component of the struct, then you can pass the struct's index to a timer (or another approriate handle) with some attachment system (like TT or TimerUtils as Viikuna suggested) and retrieve the struct's index and then you can access the unit through the struct (JASSHelper manual has most of the info you need regarding structs)
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top