| 12-09-2006, 04:12 AM | #1 |
When something is put within the very top of the trigger list(the JASS only area), is there a way to access specific functions within there within another trigger? |
| 12-09-2006, 04:27 AM | #2 |
yes, you can use a function call. |
| 12-09-2006, 07:35 AM | #3 |
Actions > Custom Script > call function_name() "()" are used to show that the "function_name" is a function, and also all of your function -takes- values are put into the "()" with commas in between. JASS:function add takes integer a, integer b returns integer local integer sum = a + b return sum endfunction JASS:call add( 4, 3 ) JASS:local integer i = add( a, b ) |
| 12-10-2006, 05:04 AM | #4 |
Neat, thanks. |
