Thread: [Guide] AI
View Single Post
Old 21.06.2007, 09:45   #2
HF
Архивный участник
 
Join Date: Aug 2005
Posts: 1,531
Default

Note. Guide for using all push_
Code:
push_const
push_string
add_string
push_parameter
push_property
Code:
push_const 1000
Push to stack value 1000
Code:
push_string S0
Read string data from label S0 to memory.
Code:
push_parameter fnHi
Same like push_const, but reading constant from 'parameter_define_begin' block.
Code:
push_property SellList0
Push property name for next using teleport list or buy/sell list from 'property_define_begin' block.
Code:
add_string 1025
split last event as string to previous stack string value
Code:
S973.   "crop_client_info"
        push_string S973
        push_parameter manor_id
        add_string 1025
S974.   ".htm"
        push_string S974
        add_string 1028
"crop_client_info" + manor_id + ".htm"
HF is offline