Page 1 of 1
Simple Open/Pass Door
Posted: Fri Sep 03, 2004 8:25 pm
by s0rcier
Code: Select all
Sub OpenDoor
/declare SaveID int local ${Target.ID}
/doortarget
/delay 1s
/face door
/keypress u
/delay 15
/keypress FORWARD hold
/delay 8
/keypress FORWARD
/squelch /target ${If[${Spawn[${SaveID}]},id ${SaveID},clear]}
/return
Could anyone tell me why i ctd everytime and how to fix it? (got bored)
Posted: Sat Sep 04, 2004 9:29 am
by dman
It has to do with the fact that doors don't have a maxmelee range and so when you target the door something is trying to show the maxmelee range on it. Things to look at is if you have the map window open with maxmelee drawn, huds, or ui info.
Posted: Tue Sep 07, 2004 5:27 pm
by Skye
Thank you so much for this note, dman. The following HUD code was causing my CTD, as well:
Code: Select all
tTargetMaxMelee=1,550,098,255,255,255,${If[${Target.ID},Max Melee:,]}
TargetMaxMelee=1,610,098,010,200,010,${If[${Target.ID},${Target.MaxRangeTo},]}
Posted: Thu Sep 23, 2004 11:58 am
by s0rcier
well dman u just answer my question! is there a way to turn off fast hud on/off

lol!
s0rCier!