Graal Forums

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

Death_Link 10-07-2001 06:22 PM

possesion script
 
hey guys im makin a police script. Its a possesion script so when you hit the player they change to the meditation gani and you can control them.

i thaught it would be like:
if (weaponfired) {
shoot fireball;
player dir;

if (hitsplayer) {
setani meditation.gani

and then the ****roling part.
But that dosent work and i got ne idea what to do on the controling part. Can any1 help?

toad1413 10-07-2001 07:52 PM

Re: possesion script
 
Quote:

Originally posted by Death_Link
hey guys im makin a police script. Its a possesion script so when you hit the player they change to the meditation gani and you can control them.

i thaught it would be like:
if (weaponfired) {
shoot fireball;
player dir;

if (hitsplayer) {
setani meditation.gani

and then the ****roling part.
But that dosent work and i got ne idea what to do on the controling part. Can any1 help?

Is there even a 'hitsplayer' thing??

Death_Link 10-07-2001 08:54 PM

there is something like that. Anyway can u help me out?

LilNiglet 10-07-2001 09:32 PM

Re: possesion script
 
Quote:

Originally posted by Death_Link
hey guys im makin a police script. Its a possesion script so when you hit the player they change to the meditation gani and you can control them.

i thaught it would be like:
if (weaponfired) {
shoot fireball;
player dir;

if (hitsplayer) {
setani meditation.gani

and then the ****roling part.
But that dosent work and i got ne idea what to do on the controling part. Can any1 help?

TONS of mistakes.
1. It would be shootfireball playerdir;
2. No such thing as hitsplayer
3. The person can easily get out of a gani, by pressing a direction.

I suggest learning GScript before trying to do it.

Death_Link 10-07-2001 09:57 PM

well can u at least help me then. If thats how im gunna learn anyway

LilNiglet 10-07-2001 11:10 PM

Quote:

Originally posted by Death_Link
well can u at least help me then. If thats how im gunna learn anyway
Learn by reading commands.rtf and the toutorial on the Graal2001 website

btedji 10-08-2001 12:30 AM

the person who is the victim would have to have a npc, as well as the person who fires the weapon, and the npcs would have to work together

Death_Link 10-08-2001 02:33 AM

i know, a bit like a catch net script, right?


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

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