encore une question a ce sujet :
comment mettre une condition pour qun pnj rejoigne le pj? genre avoir aling -1 ou plus bas pour recruter pnj malefique?
merci davanc
Need help - Need Help-Need Help
bon d'abord dans ton script tu fait une ligne qui est stat (num) of (obj): store in (num) (dans action)
la pour l'alignement c'est 19 donc :
stat (19) of (player): store in (local1)
ensuite dans conditions :
(num) <= (num)
ça fait if local1 <= 0 then dialog1 else dialog 100
dans le dial1 il acceptera de venir car ton al est inferieur ou egal a 0 et dans le dial 100 il refusera.
tient voila les differentes stat que l'ont peut interroger :
0 strength
1 dexterity
2 constitution
3 beauty
4 intelligence
5 perception
6 willpower
7 charisma
8 carry weight
9 damage bonus
10 ac adjustment
11 speed
12 heal rate
13 poison recovery rate
14 reaction modifier
15 max followers
16 magic tech aptitude
17 level
18 experience points
19 alignment
20 fate points
21 unspent points
22 magic points
23 tech points
24 poison level
25 age
26 gender (0 female;1 male)
27 race (0 human;1 dwarf;2 elf;3 half elf;4 gnome;5 halfling;6 half orc;7 half ogre;8 dark elf;9 ogre;10 orc)
la pour l'alignement c'est 19 donc :
stat (19) of (player): store in (local1)
ensuite dans conditions :
(num) <= (num)
ça fait if local1 <= 0 then dialog1 else dialog 100
dans le dial1 il acceptera de venir car ton al est inferieur ou egal a 0 et dans le dial 100 il refusera.
tient voila les differentes stat que l'ont peut interroger :
0 strength
1 dexterity
2 constitution
3 beauty
4 intelligence
5 perception
6 willpower
7 charisma
8 carry weight
9 damage bonus
10 ac adjustment
11 speed
12 heal rate
13 poison recovery rate
14 reaction modifier
15 max followers
16 magic tech aptitude
17 level
18 experience points
19 alignment
20 fate points
21 unspent points
22 magic points
23 tech points
24 poison level
25 age
26 gender (0 female;1 male)
27 race (0 human;1 dwarf;2 elf;3 half elf;4 gnome;5 halfling;6 half orc;7 half ogre;8 dark elf;9 ogre;10 orc)