• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • ✅ The POLL for Hive's Texturing Contest #33 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!

Something I need to understand

Status
Not open for further replies.
Level 16
Joined
Mar 3, 2006
Messages
1,564
When I tried to read the AI files of the campaigns, the first thing I found is "SetReplacements", what is the meaning of this function what does it do.

Also, there are many functions that I don't understand what they do, not what they take and what they return or how the functions are written. And I haven't found a program or a site that describes the purpose of the function. Thanks to any help in advance.
 
Last edited:
Level 16
Joined
Mar 3, 2006
Messages
1,564
Those are common.ai functions. I belive JassCraft lets you browse through them.

Indeed but what is the effect of this function in the game, by adding this function how the computer will behave. I understand how to browse it but what does it do ?

SetReplacements
SetReplacementCount

I do not understand their effect in the game.
 
Last edited:
Status
Not open for further replies.
Top