Surviving Mars

Surviving Mars

Patriot Missile Defense System
SkiRich  [开发者] 2018 年 5 月 9 日 上午 10:10
Development To Do's
Nothing. v2.0 is ready. Coming memorial day weekend.
最后由 SkiRich 编辑于; 2018 年 5 月 24 日 下午 11:21
< >
正在显示第 1 - 2 条,共 2 条留言
SkiRich  [开发者] 2018 年 5 月 10 日 下午 10:27 
Some development items complete. Maybe a another day or two to finish up.
ChoGGi 2018 年 5 月 15 日 下午 5:28 
2. You can use s_SeqListPlayers to find out how far along the mystery someone is:
https://github.com/ChoGGi/SurvivingMars_CheatMods/blob/master/CheatMod_CheatMenu/Files/Code/CheatsFunc.lua#L354

It stores the sequence you're on as ip, see the seq_list for a list of all the parts. You can enable shooting at them when you're past the correct ip.

s_SeqListPlayers[1] is some default sequence that's in every map, the mysteries start at [2] (you can add as many as you want with ECM).

s_SeqListPlayers[2].seq_list[1] --assuming someone is just running the one mystery this is the list of sequences. s_SeqListPlayers[2].seq_states[XXX].ip --current sequence, XXX = usually Start or Trigger, see seq_list


Since most people are just using the one mystery then
local seq_list = UICity.mystery.seq_player.seq_list[1] local seq_name = seq_list.name local ip = UICity.mystery.seq_player.seq_states[seq_name].ip print("amount of seqs" .. #seq_list) print("current seq" .. ip)
最后由 ChoGGi 编辑于; 2018 年 5 月 15 日 下午 10:55
< >
正在显示第 1 - 2 条,共 2 条留言
每页显示数: 1530 50