1 decade ago by gxxaxx
I have a level with many little slime pits.
The thought of inputting target.1 player and target.2 slimehurt for 100 of these pits is daunting.
I was thinking of extending the trigger entity and prefill the target.1 and 2 in the slimetrigger entity.
Does this make sense? And what would the syntax be in the code?
I took a few guesses but they didn't yield any functioning results.
Regards,
Claude
p.s. I suppose I should worry about whether 100 triggers in the map will have a significant performance hit.
The thought of inputting target.1 player and target.2 slimehurt for 100 of these pits is daunting.
I was thinking of extending the trigger entity and prefill the target.1 and 2 in the slimetrigger entity.
Does this make sense? And what would the syntax be in the code?
I took a few guesses but they didn't yield any functioning results.
target: ("player", "slimehurt"),
Regards,
Claude
p.s. I suppose I should worry about whether 100 triggers in the map will have a significant performance hit.