 |
WC3Jass.com "The Jass Vault"
|
Affiliates
|
|
|
| Message |
Posted:
Thu Oct 13, 2005 8:37 pm Post subject:
|
|
|
| It shouldent be a ( after GetPlayersAll() |
|
|
|
 |
|
|
|
| Message |
Posted:
Wed Jan 11, 2006 8:38 pm Post subject:
|
|
|
| fixed 2 typos found by anitarf |
|
|
|
 |
|
|
|
| Message |
Posted:
Fri Jan 13, 2006 11:42 pm Post subject:
|
|
|
| Quote: |
i see the same thing yet my editor insists sumthings wrong!
|
the prob is that u have an extra bracket
heres Vex's
function whatever takes nothing returns nothing
local string a = "whatever"
call DisplayTextToForce( YourforceHere, a )
endfunction
heres yours
function whatever takes nothing returns nothing
local string a = "whatever"
call DisplayTextToForce( YourforceHere,( a )
endfunction
i bolded the extra bracket
and get JASS SHOP PRO from the tools section in
http://www.wc3sear.ch/index.php?p=Tools&ID=76&sid=3f00467e1c51fdde80a6792c0e8729bb |
|
|
|
 |
|
|
|
| Message |
Posted:
Mon Feb 06, 2006 4:33 pm Post subject:
! |
|
|
| Thanx alot for this great tutorial !!!! |
|
|
|
 |
|
|
|
| Message |
|
|
|
|
 |
|
|
|
| Message |
Posted:
Sun Feb 26, 2006 4:43 pm Post subject:
|
|
|
| thx for tellin me! |
|
|
|
 |
|
 |
|
 |
 |
|
 |
|
|
| Message |
Posted:
Mon May 22, 2006 7:48 pm Post subject:
Error in one code |
|
|
First, thanks for the tutorial- helped me straighten out a few basic things that id missed when diving into JASS
a typo: In this chunk of code, it should be a random between 1 and 10, not 1 and 100
| Code: |
function Msg takes string s returns nothing
call DisplayTextToPlayer(Player(0),0,0, s )
endfunction
function Trig_JASS_test_Actions takes nothing returns nothing
local integer a=GetRandomInt(1,100)
call Msg("a="+I2S(a))
if (a==0) then
call Msg("zero")
elseif (a==1) then
call Msg("one")
elseif (a==2) then
call Msg("two")
elseif (a==3) then
call Msg("three")
elseif (a==4) then
call Msg("four")
elseif (a==5) then
call Msg("five")
elseif (a==6) then
call Msg("six")
elseif (a==7) then
call Msg("seveb")
elseif (a==8) then
call Msg("eight")
elseif (a==9) then
call Msg("nine")
else
call Msg("ten")
endif
endfunction
|
|
|
|
|
 |
|
 |
|
 |
 |
|
 |
|
|
| Message |
Posted:
Tue Apr 17, 2007 7:18 am Post subject:
|
|
|
| Blade.dk wrote: |
| JadedOnslaught wrote: |
| You have Guinsoo on that list of people. You make me want to alternately puke, cry and hit you. If I were Vex, I wouldn't want to be on a list which has Guinsoo on it. |
Surely I'll be puking together with you.
Dota sucks, in my opinion, but the worst things is not that he created dota, cause he didn't HE STOLE THE MAP! |
Guinsoo created it? Sorry to be off-topic but i need to know this! Wasnt Eul the creator on roc and frog on tft? :s |
|
|
|
 |
|
|
|
| Message |
Posted:
Wed Apr 18, 2007 3:36 pm Post subject:
|
|
|
IceFrog took it from Guinsoo in some form or other. I'm not sure if he stole it or it was passed on.
Anyways, they both stole a ton of stuff from wc3search, among other places, so they aren't too highly regarded by a good portion of the mapping community. |
|
|
|
 |
|
|
|
| Message |
Posted:
Thu Jun 07, 2007 5:23 pm Post subject:
|
|
|
It shouldn't be between 1 and 10 as a matter of fact. 0 and 10. As the trigger is now, "zero" will never ever appear on your screen (while 'ten' will appear on your screen about 9 times as often as it should be ) |
|
|
|
 |
|
|
|
| Message |
Posted:
Wed Aug 22, 2007 9:13 pm Post subject:
|
|
|
I am a total noob to JASS and I gat as far as this line but it says somethings wrong with it
function InitTrig_Untitled_Trigger_001 takes nothing returns nothing
set gg_trg_Untitled_Trigger_001 = CreateTrigger( )
call TriggerAddAction( gg_trg_JASS_test, function Trig_JASS_test_Actions )
Plz tell me what im doing wrong!!! [/code] |
|
|
|
 |
|
|
|
| Message |
Posted:
Thu Aug 23, 2007 7:05 pm Post subject:
|
|
|
you are adding the action to gg_trg_JASS_test, but the trigger you create is gg_trg_Untitled_Trigger_001...
only one of them can be right _________________ Projects:
SupCom | WC3 FlightSim | JASS Benchmark |
|
|
|
 |
|
|
|
| Message |
Posted:
Sun Nov 11, 2007 1:03 am Post subject:
|
|
|
| Good stuff. You say that programmers should just check out the manual, but I rather liked your tutorial and it was quite useful. I may have skipped a bit of it, but overall it was the perfect amount of explanation and sample code to give me enough of a start that I can experiment. And you also told me where I can find the API – I was searching for that forever. |
|
|
|
 |
|
 |
|
 |
 |
|
 |
|
|
| Message |
Posted:
Sun Nov 11, 2007 7:54 pm Post subject:
|
|
|
| I can't believe I'm so late with this game. First of all I started playing Warcraft 3 two years after it was published and liked it a lot. Than after two years of playing I tried the World Editor. I liked it even better than the game so I wanted to find some tutorials for it. Didn't took me long to find about JASS. It also interested me but the problem is I don't know first about programing of any kind. Not long ago I started learning HTML, and I'm doing pretty good, it's not so complicated. My only fear is that I will find JASS to hard for me to understand or that people will lose interest in Warcraf 3 and it gets swallowed in the past just when I learn enough to create some good maps. I wonder if there is a program language similar to JASS but easier to learn. Greetings to all of you skillful programmers, map makers and especially tutorial makers cause without your help we ignorant people could just stare at the monitor and ask ourselves: "How to hell did he do that?" |
|
|
|
 |
|
 |
|
 |
 |
|
 |
|
|
| Message |
Posted:
Sun Nov 11, 2007 8:29 pm Post subject:
|
|
|
| Ingwar wrote: |
| I wonder if there is a program language similar to JASS but easier to learn. |
The fastest way to learn Jass is to learn Jass, and not to learn another language first. You may want to get comfortable with GUI triggering (point-and-click) to get an understanding of triggers, events, conditions, and actions, and what they do. You should also know how to use variables and arrays, and understand variable types (e.g. why an integer cannot be compared to a string). After that you can start chewing through tutorials, learn from other people's code, experiment on your own, ask for help here when you are stuck, start a flamewar if people don't reply, etc.
| Quote: |
| My only fear is that I will find JASS to hard for me to understand or that people will lose interest in Warcraf 3 and it gets swallowed in the past just when I learn enough to create some good maps. |
While Warcraft 3 isn't exactly the top story anymore, I wouldn't worry about it "dying" anytime soon. People are still playing Starcraft, you know. And besides, if you learn Jass now, you will have a much easier time learning other programming languages, like Starcraft II scripting, so don't think you will waste your time. |
|
|
|
 |
|
 |
|
 |
|
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|