Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 10-07-2001, 06:22 PM
Death_Link Death_Link is offline
Registered User
Join Date: Aug 2001
Posts: 51
Death_Link is on a distinguished road
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?
Reply With Quote
  #2  
Old 10-07-2001, 07:52 PM
toad1413 toad1413 is offline
toad@graal:~$ ./Oldbie
Join Date: May 2001
Location: Aust.
Posts: 3,819
toad1413 is on a distinguished road
Send a message via ICQ to toad1413
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??
__________________
Creator of the original 'spam' icon. Worst mistake I ever made on these forums.
Reply With Quote
  #3  
Old 10-07-2001, 08:54 PM
Death_Link Death_Link is offline
Registered User
Join Date: Aug 2001
Posts: 51
Death_Link is on a distinguished road
there is something like that. Anyway can u help me out?
Reply With Quote
  #4  
Old 10-07-2001, 09:32 PM
LilNiglet LilNiglet is offline
Registered User
Join Date: Jun 2001
Posts: 3,178
LilNiglet is on a distinguished road
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.
Reply With Quote
  #5  
Old 10-07-2001, 09:57 PM
Death_Link Death_Link is offline
Registered User
Join Date: Aug 2001
Posts: 51
Death_Link is on a distinguished road
well can u at least help me then. If thats how im gunna learn anyway
Reply With Quote
  #6  
Old 10-07-2001, 11:10 PM
LilNiglet LilNiglet is offline
Registered User
Join Date: Jun 2001
Posts: 3,178
LilNiglet is on a distinguished road
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
Reply With Quote
  #7  
Old 10-08-2001, 12:30 AM
btedji btedji is offline
bryan986
btedji's Avatar
Join Date: Apr 2001
Location: Force 10
Posts: 1,153
btedji is on a distinguished road
Send a message via ICQ to btedji Send a message via AIM to btedji Send a message via Yahoo to btedji
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
Reply With Quote
  #8  
Old 10-08-2001, 02:33 AM
Death_Link Death_Link is offline
Registered User
Join Date: Aug 2001
Posts: 51
Death_Link is on a distinguished road
i know, a bit like a catch net script, right?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


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