UGX-Mods Login

or login with an authentication provider below
Sign In with Google
Sign In with Twitter
Sign In with Discord
Sign In with Steam
Sign In with Facebook
Sign In with Twitch

Shootable Triggers Problem!

broken avatar :(
Created 5 years ago
by killadumb
0 Members and 1 Guest are viewing this topic.
767 views
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 28 June 2019
Last active: 4 years ago
Posts
2
Respect
Forum Rank
Fresh Corpse
Primary Group
Member
My Contact & Social Links
More
×
killadumb's Groups
killadumb's Contact & Social LinksEDP455
Hello! I'm new to scripting and I wanted to create a door that opens when, in my map, three perk bottles are shot. However,
after following this tutorial I'm only left with this (taken from console):
Code Snippet
cpp
"undefined is not an object: teddy_1_trigger waitill ("trigger")
What did I do wrong? :buck2:
Marked as best answer by killadumb 5 years ago
broken avatar :(
×
broken avatar :(
Location: nl
Date Registered: 20 September 2013
Last active: 12 days ago
Posts
645
Respect
Forum Rank
Zombie Enslaver
Primary Group
Community Scripter
My Groups
More
My Contact & Social Links
More
Personal Quote
No code is bug free
Signature
My published cod maps:

Subzero
Djinncaves
Enclosed (a.k.a baconcube)
Bayern
Snowblind
Furtrelock

Black Ops Perks: https://www.ugx-mods.com/forum/scripts/55/call-of-duty-world-at-war-black-ops-perks/22180/
×
gympie6's Groups
Community Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
gympie6's Contact & Social LinksTheRevenantSkullTeffrieTeffrieGympie5#5971
Hello! I'm new to scripting and I wanted to create a door that opens when, in my map, three perk bottles are shot. However,
after following this tutorial I'm only left with this (taken from console):
Code Snippet
cpp
"undefined is not an object: teddy_1_trigger waitill ("trigger")
What did I do wrong? :buck2:
Code Snippet
Plaintext
trig = getEnt("YourTriggerName","targetname");
trig waittill("trigger");

It's waittill("trigger") not waitill("trigger");

 
Loading ...