Shootable Triggers Problem!

broken avatar :(
Created 105 days ago
by killadumb
0 Members and 1 Guest are viewing this topic.
168 views
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 28 June 2019
Last active: 71 days 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: cpp
"undefined is not an object: teddy_1_trigger waitill ("trigger")
What did I do wrong? :buck2:
Marked as best answer by killadumb on Today at 02:38:44 pm
broken avatar :(
×
broken avatar :(
Location: nl
Date Registered: 20 September 2013
Last active: 1 day ago
Posts
339
Respect
Forum Rank
Perk Hacker
Primary Group
Community Scripter
×
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 LinksDistenc5Teffrie
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: cpp
"undefined is not an object: teddy_1_trigger waitill ("trigger")
What did I do wrong? :buck2:
trig = getEnt("YourTriggerName","targetname");
trig waittill("trigger");

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

 

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 Twitch
Loading ...