YesNoOk
avatar

Necessary triggeralls for redirects and some sctrls for debug (Read 14728 times)

Started by 2OS, June 12, 2012, 09:01:54 pm
Share this topic:

2OS

Necessary triggeralls for redirects and some sctrls for debug
New #1  June 12, 2012, 09:01:54 pm
  • ****
  • 608 Wannabe
  • Ich schicke dich zur HOELLE!! STIRB DU FEIGLING!!
    • Egypt
enemy,  enemynear,  has no ##-th enemy                                          →  numenemy
partner,                    has no ##-th partner                                         →  numpartner
helper,                     has no helper (id##)                                          →  numhelper
parent,  root,            has no parent, has no root                                 →  ishelper
target,                      has no target with hit id (id##)                            →  numtarget
playerid,                   tried to access player with non-existent id (id##)  →  playeridexist


has no 0-th (nearest) enemy  ;;  ""congratulations !!"" screens

triggerall=numenemy

trigger1=enemy,stateno||enemynear,stateno


has no 1-th (nearest) enemy  ;; detecting p3 or p4 in simul mode

triggerall=numenemy
trigger1=enemy(1),stateno >>>>> enemy(numenemy=2),stateno


has no 0-th partner

triggerall=numpartner

trigger1=partner,stateno


has no target with hit id (id##)

triggerall=numtarget

trigger1=target,stateno


has no helper (id##)

triggerall=numhelper

trigger1=helper,stateno


has no parent / has no root

triggerall=ishelper

trigger1=parent,stateno||root,stateno


tried to access non-existent player with id (id##)

triggerall=playeridexist(var(2))

trigger1=playerid(var(2)),stateno


[State ]
type=targetbind
triggerall=numtarget


[State ]
type=targetdrop
triggerall=numtarget


[State ]
type=targetlifeadd
triggerall=numtarget


[State ]
type=targetstate
triggerall=numtarget


[State ]
type=targetveladd
triggerall=numtarget


has no parent for bindtoparent

[State ]
type=bindtoparent
triggerall=ishelper


has no root for bindtoroot

[State ]
type=bindtoroot
triggerall=ishelper


has no target for bindtotarget

[State ]
type=bindtotarget
triggerall=numtarget


destroyself called for non helper

[State ]
type=destroyself
triggerall=ishelper
Last Edit: September 20, 2012, 09:12:54 pm by 2OS
Re: Necessary triggeralls for redirects and some sctrls for debug
#2  June 16, 2012, 11:32:25 pm
  • avatar
  • ***
    • https://sites.google.com/site/mgmurrow/
has no 0-th (nearest) enemy  ;;  ""congratulations !!"" screens

triggerall=numenemy
trigger1=enemy,stateno||enemynear,stateno

does this go in every instance or in a certain stateno??

thanks

MGMURROW

2OS

Re: Necessary triggeralls for redirects and some sctrls for debug
#3  June 17, 2012, 02:40:28 am
  • ****
  • 608 Wannabe
  • Ich schicke dich zur HOELLE!! STIRB DU FEIGLING!!
    • Egypt
anything with ""enemy,"" or ""enemynear,"" needs triggerall=numenemy.

stateno was just a ""fill in the blank"".
Re: Necessary triggeralls for redirects and some sctrls for debug
#4  July 21, 2012, 09:00:01 pm
  • ***
Thanks!