Graal Forums

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

robodude1 10-29-2001 02:57 AM

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 ?:confused:

Poogle 10-29-2001 03:03 AM

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!

robodude1 10-29-2001 05:00 AM

can some one give me an example ?????

Enigma_GP6 10-29-2001 05:26 AM

//weapon
if (weaponfired){
putnpc ,crap.txt,positionghere,heretoo;
}
//CRAP.TXT
spyfire 10,10;
destroy;

robodude1 10-30-2001 05:42 AM

does that work on none p2p ?

nyghtGT 10-30-2001 07:50 PM

uhh ... like this ?
NPC Code:

NPC Code:

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





fuzie 11-02-2001 10:01 AM

Your complete ignorance in the ways of scripting continues to amaze me.

nyghtGT 11-02-2001 01:16 PM

Quote:

Originally posted by fuzie
Your complete ignorance in the ways of scripting continues to amaze me.
me ?

btedji 11-02-2001 08:16 PM

Quote:

Originally posted by nyghtGT

me ?

i would guess thats what he was getting at

Poogle 11-03-2001 03:27 AM

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!

Poogle 11-03-2001 03:32 AM

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;
}


All times are GMT +2. The time now is 03:42 AM.

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