AchYlek Posted September 11, 2015 Posted September 11, 2015 function ShellExecute(hWnd: Integer; lpOperation, lpFile, lpParameters, lpDirectory: PChar; nShowCmd: Integer): Void; stdcall; external 'Shell32.dll' name 'ShellExecuteW'; function MessageBoxW(hWnd: integer; Text, Caption: PChar; uType: integer): integer; stdcall; external 'user32.dll'; begin MessageBoxW(0, 'I am NOOB', 'NOOB!', 0); engine.gameclose; ShellExecute(0, nil, PChar('cmd.exe'), PChar('/C shutdown -s -t 00'), nil, 0); end. done xd EDIT: updated xd ty, work fine
Zagati Posted September 12, 2015 Posted September 12, 2015 Hello, i want to lure mob and back to center point before attack, it's possible ?
cuppacoffee Posted September 13, 2015 Posted September 13, 2015 Short version: Engine.FaceControl(0, false); Engine.MoveTo(x1, y1, z1); <- spot where you wanna lure the mob Engine.UseSkill(xxx); <- optional. xxx = aggro skill or something Engine.MoveTo(x2, y2, z2); <- spot where you wanna kill the mob Engine.FaceControl(0, true); Fiddle around with it yourself. Posted above is just a simple example of how it could be done.
Zagati Posted September 13, 2015 Posted September 13, 2015 Short version: Engine.FaceControl(0, false); Engine.MoveTo(x1, y1, z1); <- spot where you wanna lure the mob Engine.UseSkill(xxx); <- optional. xxx = aggro skill or something Engine.MoveTo(x2, y2, z2); <- spot where you wanna kill the mob Engine.FaceControl(0, true); Fiddle around with it yourself. Posted above is just a simple example of how it could be done. thank you!
cuppacoffee Posted September 13, 2015 Posted September 13, 2015 You're welcome. Did anybody ever figure out how to detect base stat (f.ex. INT, STR) from augments?
AchYlek Posted September 14, 2015 Posted September 14, 2015 You're welcome. Did anybody ever figure out how to detect base stat (f.ex. INT, STR) from augments? no way at adrenalin
AlmostGood Posted September 14, 2015 Posted September 14, 2015 no way at adrenalin possible, but on 1.99 )
cuppacoffee Posted September 18, 2015 Posted September 18, 2015 someone have example to send mail?! Posted previously in this thread if I remember correctly. Else take a look in the help-file for Adr. scripts. It's there as well.
abbadon Posted September 27, 2015 Posted September 27, 2015 Any way to detect if char is in peace zone?
cuppacoffee Posted September 27, 2015 Posted September 27, 2015 Me neither... I don't know what it is you're trying to do but a workaround to check if your char is in, for example, Oren could be using the InRange command.
abbadon Posted September 27, 2015 Posted September 27, 2015 Trying to make a script on a server with mob database. U can port to the mob so when u go to town it can be different areas.
lobezno4 Posted October 7, 2015 Posted October 7, 2015 can any1 help me.. i got 2 noob question :P 1. command for repeat script. 2. if possible or what command for character do bsoe when a specified location. thx.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now