• 🏆 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!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

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