
Liking the new chart-like look on pages such as [wiki=Action_specials]Action Specials[/wiki].

A case of "good idea, bad implementation" if ever I saw one. Having 2 as "no team" locks out any chance of extensibility, without having something silly like "add 1 to any team number after red".cq75 wrote:[wiki]Player_SetTeam[/wiki]
I don't check this thread as often as I should, but thanks Gez.Gez wrote: Also I want to thank Aeo for having started documenting some Strife functions.
Actually I'm fairly sure NO_TEAM is actually any invalid team number. Using 2 would only work if there are only 2 teams.NeuralStunner wrote:A case of "good idea, bad implementation" if ever I saw one. Having 2 as "no team" locks out any chance of extensibility, without having something silly like "add 1 to any team number after red".
Code: Select all
Teleport:
TNT1 A 0 A_GiveToTarget("ArchviletrickTargetTeleDest", 1)
TNT1 A 0 A_Teleport("TeleportArrival", "ArchvileTeleportToTarget", "ArchVileTeleportToTarget", 5)
VILE IJKLMN 8 BRIGHT
goto See
TeleportArrival:
TNT1 A 0 A_JumpIfTargetInLOS("Attack") // Verify that you arrived at a point where you can see the target
// If this point is reached, the target was not in sight; return to original location, hopefully. And go to SEE-state.
VILE I 8 BRIGHT A_FaceTarget
//TNT1 A 0 A_Teleport("See", "ArchvileTeleportToTarget", "ArchVileResurrectionEnactor", 5)
TNT1 A 0 A_Teleport("", "ArchvileTeleportToTarget", "ArchVileResurrectionEnactor", 5)
goto See