I'm making a level where the player is always flying. He has the jetpack on with infinite amount, and the USEJETPACK event always returns -1 to avoid him fall. Now the only problem is that the player can't activate touchplates and non-water teleports. I'm wondering if there's a way to make him activate them without walking on the sector's ground?
Page 1 of 1
Flying player
#1 Posted 15 January 2017 - 02:28 PM
#2 Posted 15 January 2017 - 03:23 PM
I was under the impression that if you angle a Touchplate sprite down, it'll trigger when you enter the sector regardless of touching the floor.
#3 Posted 16 January 2017 - 03:54 AM
Kawa, on 15 January 2017 - 03:23 PM, said:
I was under the impression that if you angle a Touchplate sprite down, it'll trigger when you enter the sector regardless of touching the floor.
You're under that impression because it's true.
I'm not too sure what can be done about the teleports from a purely mapping perspective though. However since you're obviously modifying the code, would it not be relatively simple to make your own effect which transports the player upon activation?
#4 Posted 16 January 2017 - 07:17 AM
Kawa, on 15 January 2017 - 03:23 PM, said:
I was under the impression that if you angle a Touchplate sprite down, it'll trigger when you enter the sector regardless of touching the floor.
Micky C, on 16 January 2017 - 03:54 AM, said:
Would it not be relatively simple to make your own effect which transports the player upon activation?
#5 Posted 16 January 2017 - 11:10 AM
Perro Seco, on 16 January 2017 - 07:17 AM, said:
I know how to change player's current position and how to detect his current sector, but I don't know either how to detect if there's a SE in that sector or how to get the other SE position...
http://wiki.eduke32..../Headspritesect
http://wiki.eduke32....tructure_access
Share this topic:
Page 1 of 1