tooltiperror
Super Moderator
- Reaction score
- 231
call fooperson.WhateverYouWant()
call WhateverYouWant(fooperson)
if fooperson == 6 then
Also, try methods.
struct Data
method Example takes nothing returns nothing
call BJDebugMsg("Hello, World!")
endmethod
endstruct
function foo ...
local Data data=Data.create()
call data.Example()
endfunction
sure.
JASS:struct Data method Example takes nothing returns nothing call BJDebugMsg("Hello, World!") endmethod endstruct function foo ... local Data data=Data.create() call data.Example() endfunction
function PolarProjectionBJ takes location source, real dist, real angle returns location
local real x = GetLocationX(source) + dist * Cos(angle * bj_DEGTORAD)
local real y = GetLocationY(source) + dist * Sin(angle * bj_DEGTORAD)
return Location(x, y)
endfunction
Your last sense makes absolutely no sentence.