tried to fix the waits

[GR]doodleninja
1000+ Posts
1000+ Posts
Posts: 1086
Joined: Mon Feb 27, 2012 11:08 am

tried to fix the waits

Post by [GR]doodleninja »

why does this not work? there need some fix to be done at the waits

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 50; ent_create path_corner
wait 50; ent_fire path_corner addoutput "targetname bottom"
wait 50; ent_fire bottom addoutput "classname lift_example"
wait 50; ent_fire bottom addoutput "target top"
wait 50; ent_fire bottom addoutput "wait 2"
wait 50; ent_fire bottom addoutput "origin 1 1 0"

wait 50; ent_create path_corner
wait 50; ent_fire path_corner addoutput "targetname top"
wait 50; ent_fire top addoutput "classname lift_example"
wait 50; ent_fire top addoutput "target bottom"
wait 50; ent_fire top addoutput "wait 2"
wait 50; ent_fire top addoutput "origin 1 1 500"


wait 50; ent_create func_train
wait 50; ent_fire func_train addoutput "targetname train"
wait 50; ent_fire train addoutput "classname lift_example"
wait 50; ent_fire train addoutput "origin 1 1 0"
wait 50; ent_fire train addoutput "speed 60"
wait 50; ent_fire train addoutput "target top"
wait 50; ent_fire floor setparent train

ent_fire train toggle
ent_fire train startS
[GR]doodleninja
1000+ Posts
1000+ Posts
Posts: 1086
Joined: Mon Feb 27, 2012 11:08 am

Re: tried to fix the waits

Post by [GR]doodleninja »

second try

still not working

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 50;

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 50;

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 50;

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

ent_fire train toggle
ent_fire train startS
User avatar
ant_8490
Site Admin
Posts: 4390
Joined: Fri Apr 09, 2010 3:20 pm
Location: United States

Re: tried to fix the waits

Post by ant_8490 »

Code: Select all

ent_fire train startS
There is no "startS" entity

Also, waits are wrong.. and since you really havent changed anything go back and start over:
http://www.area51cheatserver.com/data/s ... cTrain.zip
[GR]Ant_8490{A}
Area 51 Servers - Owner
Image
Image
Image
Image

MSI GE76 Raider
i9-11980HK 2.6GHz 8-Core Processor
32GB 3200Mhz DDR4 RAM
NVIDIA GeForce RTX 3080 Laptop GPU 16GB
2TB Samsung 980 Pro SSD
Windows 10
User avatar
BrOnyxia
1+ Posts
1+ Posts
Posts: 20
Joined: Sat Jul 07, 2012 10:00 am
Location: Greece

Re: tried to fix the waits

Post by BrOnyxia »

wait should be like this: first waits could be wait 50;
now if you wanna add more waits you dont write wait 50; again.. if you wanna have 50 more waits you use wait 100;
visit developer wiki site or search into cpp files to find inputs/keyvalues/outputs for the entities you want to use
j gjhn krphjel| fxzjp| qn2a reo cdejnz0