SAIL - Zmiana zachowania

Gotowe kody SAIL'a, informacje na temat moddingu, itd.

Modérateur : zoNE

User avatar
zoNE
The Great Uniter & Site Administrator
The Great Uniter & Site Administrator
Messages : 2061
Inscription : Fri Feb 17, 2006 3:44 pm
Location : Poland
Contact :

SAIL - Zmiana zachowania

Post par zoNE »

Gothuk wrote:do zmiany zachowania słuzy komena:

Code: Select all

SetAttitude(fromside:integer toside:integer att:integer sym:boolean);
sets attitude to att (if sym then sets the symetric relation too)

w att mozesz wstawić jedno z:

Code: Select all

att_neutral  
att_friend  
att_enemy  
lub ich odpowiedniki w liczbach czyli kolejno 0, 1, 2.

fromside i toside to chyba latwe do zrozumienia

a sym okresla czy relacje sa symetryczne czyli czy dla jednej i drugiej nacji maja byc takie same.
Author: Gothuk
Topic: http://forum.original-war.net/viewtopic.php?t=1301