Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   disabledefmovement() (https://forums.graalonline.com/forums/showthread.php?t=134268805)

sssssssssss 10-07-2013 08:42 PM

disabledefmovement()
 
Does this also disable default hit detection? Sorry I ask simple questions sometimes, it's the small fallacy in a closed UC server, sometimes I have to ask because I'm by myself on there.

Jakov_the_Jakovasaur 10-07-2013 09:02 PM

it doesnt but you could try this clientside -

player.isinvincible = true; - makes the player invincible for classic hits

and you would also want this to reduce un-necessary lag -

disablenpchits = true; - disables detection of npcs hitting players or baddies; can speed up things on maps with many npcs

disablenpconnpchits = true; - disables detection of client-side npcs hitting each other with sword; can speed up things on maps with many npcs; by default disabled on mobile platforms

xXziroXx 10-07-2013 09:20 PM

good guy thor always to the rescue ^_^

sssssssssss 10-07-2013 09:38 PM

Never heard of those before :x

I feel like I'm getting duped b/c that seems too easy lol.

Jakov_the_Jakovasaur 10-07-2013 09:47 PM

they were added with the new v6 client

and i like that comic book!

sssssssssss 10-08-2013 02:39 AM

Where do yall find this stuff? xD

Thank you btw.

Jakov_the_Jakovasaur 10-08-2013 06:38 PM

if you create a shortcut to the graal client, right click it, open properties, add -listscriptfunctions to the end of 'target' and run it, it will generate a text file in the graal folder called scriptfunctions_client.txt which contains all of the objects, functions, events and variables

sssssssssss 10-08-2013 08:14 PM

Heck ya, thanks.

sssssssssss 10-08-2013 10:44 PM

C:\Graal\Graal.exe-listscriptfunctions

Says its not valid and wont let me set it in the target.

fowlplay4 10-08-2013 10:47 PM

open up a cmd:

cd C:\Graal
Graal.exe -listscriptfunctions

Jakov_the_Jakovasaur 10-08-2013 10:48 PM

space after graal6.exe:

HTML Code:

C:\Users\Jakov.Blanchet\Documents\graal\Graal6.exe -listscriptfunctions

sssssssssss 10-08-2013 11:01 PM

ty


All times are GMT +2. The time now is 12:25 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.