p2sr / SourceAutoRecord

Speedrun plugin for Source engine games.
https://sar.portal2.sr/
MIT License
93 stars 29 forks source link

feat: entity selector for `autoaim ent` #121

Closed ThisAMJ closed 1 year ago

ThisAMJ commented 1 year ago

e.g.

version 6
start map sp_a2_laser_chaining
0>|||notarget; noclip; setpos 0 952 440
60>>autoaim ent npc_portal_turret_floor 60     // same
+60>>autoaim ent npc_portal_turret_floor[0] 60 // same
+60>>autoaim ent npc_portal_turret_floor[1] 60
+60>>autoaim ent npc_portal_turret_floor[2] 60
+60>>autoaim ent npc_portal_turret_floor[3] 60
+60>>autoaim ent box 60    // same
+60>>autoaim ent box[0] 60 // same
+60>>autoaim ent box[1] 60
+60>>autoaim ent box[2] 60
+60>
RainbowwPhoenixx commented 1 year ago

This should be good, I just want another set of eyes to look at it to make sure there's isn't an obvious mistake. It compiles but I haven't tested because I can't open the game atm.