HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Question about BJ functions

10-27-2005, 01:09 PM#1
Earth-Fury
some functions are duplicated with BJ functions, eg:
Code:
function BlightGoldMineForPlayer (unit goldMine, player whichPlayer) returns unit
function BlightGoldMineForPlayerBJ (unit goldMine, player whichPlayer) returns unit

When there is a non-BJ function and a BJ function, which is better to use? why?
10-28-2005, 05:38 AM#2
EdwardSwolenToe
Always use native functions over BJ functions. BJ functions are just there mainly to simplify the process for GUI triggers, so using the natives are much quicker.

Although there may be a few BJ functions you might want to use like polar projection and angle between points, but they arent really calling natives in the first place.