- Joined
- Jul 12, 2010
- Messages
- 1,735
I'm a beginner, i don't even know if what im trying to do is jass/vjass although i use the NewGen WE for coding, here is my problem:
Syntax Error:
What did i do wrong? Did i do anything else wrong?
optional:
How can i choose WHEN i want the trigger to run?
additional information:
I tried participating at the jass class but i still don't understand anything, it still is a lot confusing so i decided to learn it myself >_<
JASS:
//! runtextmacro Variables()
unit u
//! runtextmacro Actions()
set u = unit Paladin 0001
// unit item name slot
native UnitAddItemToSlotById takes unit u, integer "0001", integer 2 returns boolean
Syntax Error:
What did i do wrong? Did i do anything else wrong?
optional:
How can i choose WHEN i want the trigger to run?
additional information:
I tried participating at the jass class but i still don't understand anything, it still is a lot confusing so i decided to learn it myself >_<