• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

[8.4]NPC System help

Kichu

New Member
Joined
Jul 5, 2008
Messages
11
Reaction score
0
Czesc

Problem polega na tym ze chcialem spolszczyc npc system ale zeby mozna bylo pisac yes i tak a dokladniej funkcje:

SHOP_YESWORD = {'yes'}

na poczatku zmienilem na takie cos:

SHOP_YESWORD = {'yes', 'tak'}

ale to niezadzialalo.
Pozniej mnie oswiecilo i dodalem taka funkcje:
SHOP_TAKWORD = {'tak'}
i na:
SHOP_TAKWORD = {'tak'}

ale to tez niedziala niewiem jak to zrobic gdzie cos jeszcze dodac lub zmienic
Prosze was o POMOC jest to dlamnie bardzo wazne.PROSZE.

moj silnik to tfs 0.3b2
 
Czesc

Problem polega na tym ze chcialem spolszczyc npc system ale zeby mozna bylo pisac yes i tak a dokladniej funkcje:



na poczatku zmienilem na takie cos:



ale to niezadzialalo.
Pozniej mnie oswiecilo i dodalem taka funkcje:

i na:


ale to tez niedziala niewiem jak to zrobic gdzie cos jeszcze dodac lub zmienic
Prosze was o POMOC jest to dlamnie bardzo wazne.PROSZE.

moj silnik to tfs 0.3b2

niee, no a tak próbowałeś? : SHOP_YESWORD = {'tak'} musi działać
 
oki jak dodam to SHOP_YESWORD = {'tak'} to wtedy yes niedziala ami chodzi zeby dzialaly obie funkcje czyli yes i tak
 
W takim razie żeby oba wyrażenia działały musiałbyś zmienić coś w source. Szukaj w npc.cpp. Nie wiem dokładnie co ;p


Pozdro,
Gelio
 
Back
Top