Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Almost Finished (Still need help though) (https://forums.graalonline.com/forums/showthread.php?t=25272)

Andor_RC14 03-08-2002 10:18 AM

Almost Finished (Still need help though)
 
i did my drowning script i finished
BUT......
You cant die in water in graal is there any command to make it so
like levelx,levely or something

Python523 03-08-2002 10:47 AM

Did you try hurt 40; or playerhearts=0; for the drowning system Sage and I made for Providence, we were able to get the client to die

Saga2001 03-09-2002 12:19 AM

Hey, it do work, I did it too...

Andor_RC14 03-09-2002 02:49 AM

Tried it
 
i did playerhearts=>0
and
hurt 20

Python523 03-09-2002 04:28 AM

Re: Tried it
 
Quote:

Originally posted by Andor_RC14
i did playerhearts=>0
and
hurt 20

hurt 20 only hurts for 10 hearts, each 1 represents .5 of a heart
and it would be
playerhearts=0, not playerhearts=>0

Andor_RC14 03-11-2002 07:06 AM

Tried that
 
wanna see my script so you can see why

Python523 03-11-2002 07:22 AM

aim - JagenSWPC
or just PM me it, I'll check it out

Spanko 03-11-2002 07:13 PM

You could always try:
NPC Code:

setani idle,;
playerhearts=0;

Though that would only work if it's the case that a player is invulnerable when he/she has the swim gani.

Python523 03-12-2002 06:12 AM

I couldn't get it to work, maybe I got it to work because Providence has an HP system and the drowning system depletes the HP and the system checks and sees if the HP is 0 or below and then kills, that's probably why mine works and his doesn't

neomaximus2k 03-12-2002 03:39 PM

Quote:

Originally posted by Python523
I couldn't get it to work, maybe I got it to work because Providence has an HP system and the drowning system depletes the HP and the system checks and sees if the HP is 0 or below and then kills, that's probably why mine works and his doesn't
but if you got it to work with a HP system then the commands would work if it was for the normal heart system if i am correct


All times are GMT +2. The time now is 01:29 PM.

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