• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

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