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-29-2001, 02:57 AM
robodude1 robodude1 is offline
Registered User
Join Date: Sep 2001
Posts: 23
robodude1 is on a distinguished road
Red face Explosions

when u make an explosion, how do you make it smaller? ... for example when u use put explosion it makes the explosion go up and down ... i want to know how to make it just go up or just go down and look good and not all messed up .... can some one explain what i need to do this ?
Reply With Quote
  #2  
Old 10-29-2001, 03:03 AM
Poogle Poogle is offline
Registered User
Poogle's Avatar
Join Date: Jun 2001
Posts: 2,471
Poogle is on a distinguished road
overlap

if you ovelap the explosions or use spyfire command u could do that but to use spy fire an NPC would heva to be placed then destroyed!
Reply With Quote
  #3  
Old 10-29-2001, 05:00 AM
robodude1 robodude1 is offline
Registered User
Join Date: Sep 2001
Posts: 23
robodude1 is on a distinguished road
Talking

can some one give me an example ?????
Reply With Quote
  #4  
Old 10-29-2001, 05:26 AM
Enigma_GP6 Enigma_GP6 is offline
Banned
Join Date: Jul 2001
Location: Who?
Posts: 261
Enigma_GP6 is on a distinguished road
Send a message via ICQ to Enigma_GP6 Send a message via AIM to Enigma_GP6
//weapon
if (weaponfired){
putnpc ,crap.txt,positionghere,heretoo;
}
//CRAP.TXT
spyfire 10,10;
destroy;
Reply With Quote
  #5  
Old 10-30-2001, 05:42 AM
robodude1 robodude1 is offline
Registered User
Join Date: Sep 2001
Posts: 23
robodude1 is on a distinguished road
does that work on none p2p ?
Reply With Quote
  #6  
Old 10-30-2001, 07:50 PM
nyghtGT nyghtGT is offline
Banned
nyghtGT's Avatar
Join Date: Jun 2001
Posts: 3,993
nyghtGT is on a distinguished road
Send a message via AIM to nyghtGT
uhh ... like this ?
NPC Code:

NPC Code:

if (created) {
putexplosion size#,32,32;
}




Reply With Quote
  #7  
Old 11-02-2001, 10:01 AM
fuzie fuzie is offline
Registered User
Join Date: Jul 2001
Location: +900
Posts: 303
fuzie is on a distinguished road
Send a message via AIM to fuzie Send a message via Yahoo to fuzie
Your complete ignorance in the ways of scripting continues to amaze me.
__________________
This is my extra account. My other account name is "royce".


-Mr. Chik (Criminals)

Chik=French=Hip
Reply With Quote
  #8  
Old 11-02-2001, 01:16 PM
nyghtGT nyghtGT is offline
Banned
nyghtGT's Avatar
Join Date: Jun 2001
Posts: 3,993
nyghtGT is on a distinguished road
Send a message via AIM to nyghtGT
Quote:
Originally posted by fuzie
Your complete ignorance in the ways of scripting continues to amaze me.
me ?
Reply With Quote
  #9  
Old 11-02-2001, 08:16 PM
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
Quote:
Originally posted by nyghtGT

me ?
i would guess thats what he was getting at
Reply With Quote
  #10  
Old 11-03-2001, 03:27 AM
Poogle Poogle is offline
Registered User
Poogle's Avatar
Join Date: Jun 2001
Posts: 2,471
Poogle is on a distinguished road
Quote:
Originally posted by Enigma_GP6
//weapon
if (weaponfired){
putnpc ,crap.txt,positionghere,heretoo;
}
//CRAP.TXT
spyfire 10,10;
destroy;
Like you suck! Its
if (playertouchsme) {
toweapons blah;
}
if (weaponfired) {
spyfire 10,10;
destroy;
}
Like you stink!
Reply With Quote
  #11  
Old 11-03-2001, 03:32 AM
Poogle Poogle is offline
Registered User
Poogle's Avatar
Join Date: Jun 2001
Posts: 2,471
Poogle is on a distinguished road
Quote:
Originally posted by robodude1
can some one give me an example ?????
Heres a never ending one for a reg npc
up and down
if (playerenters) {
set blah;
}
while (blah) {
dir = 0;
spyfire 1,1;
sleep 0.1;
}
left and right
if (playerenters) {
set blah;
}
while (blah) {
dir = 0;
spyfire 1,1;
sleep 0.1;
}

Playertouchsme one
up and down
if (playertouchsme) {
dir = 0;
spyfire 1,1;
}
left and right
if (playertouchsme) {
dir = 1;
spyfire 1,1;
}
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 03:16 PM.


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