• Check out the results of the Techtree Contest #19!
  • Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

I'm stuck

Status
Not open for further replies.
Level 4
Joined
Nov 7, 2009
Messages
83
The title says most of what you need to know. I'm stuck.
I am good at programming in C,C++ and MATLAB (if you can say MATLAB involves programming, but it doesn't matter).
Thing is that I see a lot of different ideas when I try to make a spell. I think I can make a queue, I can use events, I always try to use functions so that I use modular programming, I try to use structures (in fact they are more a C++ class than a structure, because C structures don't have methods), but I just don't get it, I can't handle JASS, for every idea I attempt, I come to a dead end (some of them fail because JASS/vJASS has some asymetries, but they are the least).
So, my bigger problems come when I try to coordinate everything perfectly, because I would like to put, for example, more than one trigger in a scope, or I have to wait for a condition, like waiting for an attack to happen, and so I need sometimes to pass some variables from one trigger to another, but I want variables to stay hidden inside a module and I cant pass variables between triggers the way you do with functions (maybe this could be solved using handles, like the hated userdata and handles in MATLAB, but I don't know how do handles work in the world editor).
In conclusion, I will ask you experts for manuals, short and clear tutorials and every thing you think will be more useful for unstucking me.

Thanks in advance!
 
https://www.hiveworkshop.com/forums...ls-280/vjass-indexer-tutorial-structs-114223/
A tutorial about how most of the spellmakers here make vJass MUI involving structs..

https://www.hiveworkshop.com/forums/jass-ai-scripts-tutorials-280/vjass-oop-lesson-128236/
A tutorial about what vJass is capable of with OOP, involving interfaces structs and some other stuff..

I hope this helps you somehow.. There are plenty more (vJass) tutorials in the tutorial section here on THW
(For if you cant find it :P https://www.hiveworkshop.com/forums/tutorials.php )
 
Status
Not open for further replies.
Back
Top