JASS 101 Classroom

Status
Not open for further replies.

elmstfreddie

The Finglonger
Reaction score
203
I thought I tried that...
Maybe I did " by accident =/

Edit > Yeah, ok, that worked. I coulda sworn I did that though! I must be going insane =/
Edit > Why does setting resources require a unit?
... Or does this one change the amount of gold a gold mine has..!
Edit > Yup, it does. Found the right one now.
Another question from the JASStard:
The function takes playerstate whichPlayerState. What should I do? 'gold'? Something like that?
 

ertaboy356b

Old School Gamer
Reaction score
86
I have some questions regarding the assignment, do we have to create the full trigger with the events or just skipped the events and create the function for the trigger... Example of this is set gg_trg_Assign2 = CreateTrigger()??????
 

ertaboy356b

Old School Gamer
Reaction score
86
I don't know much about natives, and I'm trying all I can to use and understand them...

What comes in ??? line?? call SetPlayerState( Player(2), ???, 500 )
I've been wondering what's beyond the ???....

I have more questions coming up soon..
 

Arkan

Nobody rides for free
Reaction score
92
PLAYER_STATE_RESOURCE_GOLD
PLAYER_STATE_RESOURCE_LUMBER

are the most common, but there are also others.
 

ertaboy356b

Old School Gamer
Reaction score
86
Hmmm... tried that but it seemed to return a false argument... Arghhh..

_________________________________________________
EDIT: Works now... Thanks
 
I

IKilledKEnny

Guest
> tried that but it seemed to return a false argument

What do you mean? Arkan got it right.
 

ertaboy356b

Old School Gamer
Reaction score
86
Sensei, I need to verify this if it will actually works because of the fact that I am away from home and do not have warcraft with me...

_________________________________________________
EDIT: Removed
 

Omni

Ultra Cool Member
Reaction score
37
im learing like elmstfreddie,...
and exactly the same way..,,,..

[side note :wtf can i do with reputation??]
 

elmstfreddie

The Finglonger
Reaction score
203
Finally, done. But I think I boned the text display. It asked me for two reals that weren't the duration, so I just guessed and set them to 0.00 lol
 

PurgeandFire

zxcvmkgdfg
Reaction score
509
Thanks you Sensei, better remove it from the post.... I'll submit it to you later..

[Off-Topic]Lol... You keep using the Japanese phrase "Sensei"; I'm not Japanese though, I just know that. :D

[side note :wtf can i do with reputation??]

Reputation makes you seem more reliable, allows you to change the text under your name, and it can give you certain privelages that I don't feel like explaining right now. :p

Finally, done. But I think I boned the text display. It asked me for two reals that weren't the duration, so I just guessed and set them to 0.00 lol

Lol..

I'm pretty sure that you did DisplayTextToPlayer...
It goes as follows:

JASS:
native DisplayTextToPlayer          takes player toPlayer, real x, real y, string message returns nothing


So that means that it will display the text to "Player", then take the real x and y locations and take a string "message" then return nothing.

I think you should've done this since IKK told you to give it to AllPlayers, not just player 3:
JASS:
DisplayTextToForce takes force toForce, string message returns nothing


So it would be something like this:
JASS:
call DisplayTextToForce(GetPlayersAll(), "This is a function regarding player 3")


I think that was what he was talking about, I think... :D

IMO, displaying text to players take a little longer to implement. ;)
 

RockmanderZ

New Member
Reaction score
0
Hello, I wanna learn Jass, count me in, please go slow on me, Cuz I think I'm a slow learner lol, and about assignments please give me some consideration's..:) becuz we have different timezone, GMT+8 here..

And I'm afraid I need to read all over the 7 page of this Thread lol..:D

Edit: Oh, and btw can I request anyone to give me the actul link for the newest version of Jass Craft?
I'm a bit confuse ~Thanks~

Btw I just finish reading the first lesson :D
 

elmstfreddie

The Finglonger
Reaction score
203
Edit: Oh, and btw can I request anyone to give me the actul link for the newest version of Jass Craft?
If you leave The JASS Zone and go to The World Editor Help Zone there is an announcement or sticky called Useful Tools, go to that and you will find the newest JASSCraft website :)
 
Status
Not open for further replies.
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