Discussions about Coding and Scripting
Voodoo Doll
Average
Posts: 42 Joined: Wed Aug 03, 2011 2:27 am
Location: Russian Federation
Post
by Voodoo Doll » Thu Aug 04, 2011 8:51 am
Need some sort of exit command implementation.
please note that this
Code: Select all
playerpawn(owner).consolecommand("debug gpf");
is not suitable
papercoffee
Godlike
Posts: 10447 Joined: Wed Jul 15, 2009 11:36 am
Personal rank: coffee addicted !!!
Location: Cologne, the city with the big cathedral.
Contact:
Post
by papercoffee » Thu Aug 04, 2011 9:28 am
sounds like you need a "boss key"
Voodoo Doll
Average
Posts: 42 Joined: Wed Aug 03, 2011 2:27 am
Location: Russian Federation
Post
by Voodoo Doll » Thu Aug 04, 2011 9:34 am
papercoffee
that's right description, thanks!
I'm creating a game that will be formed as UT level (.unr file), so i need to place "exit" button in this game, which will force exit without pressing "exit" in UT menu
anth
Adept
Posts: 257 Joined: Thu May 13, 2010 2:23 am
Post
by anth » Thu Aug 04, 2011 10:22 am
the consolecommand you need is "quit"
papercoffee
Godlike
Posts: 10447 Joined: Wed Jul 15, 2009 11:36 am
Personal rank: coffee addicted !!!
Location: Cologne, the city with the big cathedral.
Contact:
Post
by papercoffee » Thu Aug 04, 2011 10:23 am
somehow you can bind this to a key ...but I don't know how, never needed it.
anth
Adept
Posts: 257 Joined: Thu May 13, 2010 2:23 am
Post
by anth » Thu Aug 04, 2011 10:36 am
set input q quit
Voodoo Doll
Average
Posts: 42 Joined: Wed Aug 03, 2011 2:27 am
Location: Russian Federation
Post
by Voodoo Doll » Thu Aug 04, 2011 11:26 am
anth
thanks a lot, this it the thing i needed
didn't knew about this command...
Shadow
Masterful
Posts: 743 Joined: Tue Jan 29, 2008 12:00 am
Personal rank: Mad Carpenter
Location: Germany
Contact:
Post
by Shadow » Fri Aug 05, 2011 2:02 pm
the most simple command is
Shadow
Masterful
Posts: 743 Joined: Tue Jan 29, 2008 12:00 am
Personal rank: Mad Carpenter
Location: Germany
Contact:
Post
by Shadow » Sat Aug 06, 2011 9:50 am
hm well don't know whether the commands "quit" and "exit" are different, I didn't know that a quit command exists at all, for the exit command I'm absolutely sure that'll suite Voodoo Doll's needs
anth
Adept
Posts: 257 Joined: Thu May 13, 2010 2:23 am
Post
by anth » Sat Aug 06, 2011 2:38 pm
they're aliases.