Code: Select all
prop_dynamic_create props_lab/blastdoor001c
ent_setname floor
ent_fire floor addoutput "classname lift_example"
ent_fire floor addoutput "origin 1 1 0"
ent_fire floor addoutput "angles 90 0 0"
wait;wait;wait;wait;wait;
ent_create path_corner
ent_fire path_corner addoutput "targetname bottom"
ent_fire bottom addoutput "classname lift_example"
ent_fire bottom addoutput "target top"
ent_fire bottom addoutput "wait 2"
ent_fire bottom addoutput "origin 1 1 0"
wait;wait;wait;wait;wait;
ent_create path_corner
ent_fire path_corner addoutput "targetname top"
ent_fire top addoutput "classname lift_example"
ent_fire top addoutput "target bottom"
ent_fire top addoutput "wait 2"
ent_fire top addoutput "origin 1 1 500"
wait;wait;wait;wait;wait;
ent_create func_train
ent_fire func_train addoutput "targetname train"
ent_fire train addoutput "classname lift_example"
ent_fire train addoutput "origin 1 1 0"
ent_fire train addoutput "speed 60"
ent_fire train addoutput "target top"
ent_fire floor setparent train
wait;wait;wait;wait;wait;
ent_fire train toggle
ent_fire train start