I need help! exitapp() !

Chat about AI dev here
Post Reply
kenius
Posts: 12
Joined: Wed Oct 20, 2010 2:15 am

I need help! exitapp() !

Post by kenius »

Hi guys! I need help! :) :)
In the file ..\ge\ui.ipf //uiscp//game.scp , i find some code as below :

Code: Select all

func UI_EXIP_APP(frame, control, arg1, arg2)
{
	ExitApp();
}
and im really interested in it now !

could anyone show me de code of ExitApp() ?
PKO88
Posts: 8
Joined: Fri Dec 04, 2009 4:38 pm

Re: I need help! exitapp() !

Post by PKO88 »

I'm not sure what you mean by code for it, but ExitApp() works withnot any arguments. You can bind it to hotkey with cause client to terminate immediatly (no 5 seconds countdown).

Example of my hotkey file:

Code: Select all

	<HotKey Name="Exit Application" Scp="ExitApp()" Key="ESCAPE" UseAlt="NO" UseCtrl="NO" UseShift="YES" OnEdit="NO" />
	<HotKey Name="Logout" Scp="LogOut()" Key="ESCAPE" UseAlt="NO" UseCtrl="YES" UseShift="NO" OnEdit="NO" />  <!--countdown still present-->
Post Reply