Half-Life 2
Emergency Healing Function
Εμφάνιση 1-6 από 6 καταχωρίσεις
Ενημέρωση: 23 Νοε 2024 στις 10:21
από Qwazzy

Version 2.
Alright... I think I have this figured out now.
Entities should be cleaned up after every use of EMS, so any phantoms left over by a save/death/reload/whatever should be handled.

Ενημέρωση: 23 Νοε 2024 στις 9:37
από Qwazzy

Nope. Something else is going on. I don't know what. Reverted to version 1.

Ενημέρωση: 23 Νοε 2024 στις 9:32
από Qwazzy

Either ent_remove doesn't work in keybinds, or I'm overlooking something silly.
I'm using ent_fire NAME kill now, instead. 🤷‍♂️

Ενημέρωση: 23 Νοε 2024 στις 9:25
από Qwazzy

Moved the delete-check to the keybind, since apparently calling it immediately on load makes it fail to work

Ενημέρωση: 23 Νοε 2024 στις 9:16
από Qwazzy

Realized that the CFG file was executed fresh even from loading a save game, which potentially can lead to making more entities than necessary.
Now the script deletes any already present entities so that the first keypress makes them and there's no duplicates.

Ενημέρωση: 23 Νοε 2024 στις 7:49
από Qwazzy

Version 1.
Initial upload.