endlevel item missing subtype touch?

ABK

Well-known member
Its subtype touch by default and id like endlevel to be activated only when i press attack, i think for backwards compatibility simply allowing subtype touch for endlevel isnt possible ? or you cant have 2 subtypes, so how should i make my endlevel branch item to be activated when i press attack ?
 
Endlevel is not item, so there's no subtype touch.

There are other entities you can you, maybe a @cmd with jumptobranch. Like

@cmd jumptobranch "your_branch" 1

Also using item has a drawback if it is not subtype touch, get animation will be played, which is not good for doors.
 
that script  solved my problem:)
Whats the easiest way to remove that enemy once stage is completed so when i come back to map its not on map anymore ?
---
ok i used duplicated name variable trick from pierwolf mod
 
IMO that trick is too much and causes more trouble.

It's best to just make item entity whose didhitscript jumps to certain branch. Since the script is run immediately, you would only see player's GET animation briefly. Also if you can tolerate player's performing attack to trigger endlevel, you should be able to tolerate GET animation too :)
 
Back
Top Bottom