Timeslip said:I have no idea what you mean here, sorry.Cubik2k said:4) how to make a list of strings during working hs_script or gl_script. It is for later display that list in some order?
I use
list_begin(), list_next(), list_end()
functions, and I'd like to use some specific strings from that list to be displayed later.
For example:
Code:
items_list:=list_begin(LIST_GROUNDITEMS);
while(items_list != 0) do
begin
item:=list_next(items_list);
if (item) then
begin
if (random(0,100) <= 33 then
begin
create_message_window(obj_name(item)); // this obj_name(item)s I'd like to use later
end
end
end
else
begin
list_end(items_list);
items_list := 0;
end
In that code I'd like to store specific items (displayed in message_window) to the other list for later use.
Another idea:
On worldmap when I am on mountain zone or ruined city etc. then when enter to map (not to location) then I appear always on desert map. Is there a method to appear in mountain or ocean etc random map ?