ANTONIVS
Recruit

Hi. I have some questions about module system and python basics.
Module_system tutorials does not include enough information about those things. Command database is also not explanatory as i want. #Sorry for bad python&English.
0- Where is the optimal place to ask those questions?
If it is not here, I'll appreciate that if you answer my questions here for this time.
1- Call_script. Can i use this operation for importing a local variable from the called_script to another script?
I put a local_variable (in the called_script) to x position in (call_script, "called_script", x) but it didn't work as i want. How should i use it?
What is a (set_trigger_result,) What does it do?
2- I used a local variable in another script (game_event_sell_item) like this:
(assign, ":price_factor", reg0),
(assign, reg1, ":price_factor),
(display_message, "str_show_price_factor_reg1"),
It worked.. How come?
3- I can't use a (display message, "@Price factor is {reg1}") properly without using a string.
If i don't use a string, it shows an irrelevant message in the game. Why?
4- How to use a store_parameter? What is a slot? Is it something global?
It would be really great if someone give me the essence of those operations, shortly.
Thanks.
Module_system tutorials does not include enough information about those things. Command database is also not explanatory as i want. #Sorry for bad python&English.
0- Where is the optimal place to ask those questions?
If it is not here, I'll appreciate that if you answer my questions here for this time.
1- Call_script. Can i use this operation for importing a local variable from the called_script to another script?
I put a local_variable (in the called_script) to x position in (call_script, "called_script", x) but it didn't work as i want. How should i use it?
What is a (set_trigger_result,) What does it do?
2- I used a local variable in another script (game_event_sell_item) like this:
(assign, ":price_factor", reg0),
(assign, reg1, ":price_factor),
(display_message, "str_show_price_factor_reg1"),
It worked.. How come?
3- I can't use a (display message, "@Price factor is {reg1}") properly without using a string.
If i don't use a string, it shows an irrelevant message in the game. Why?
4- How to use a store_parameter? What is a slot? Is it something global?
It would be really great if someone give me the essence of those operations, shortly.
Thanks.


