![]() |
Why Dos'e't This Work?
Why Dose'nt This Work?
NPC Code: :grrr: |
~AlphaFlame~
if(weapoonfired && this.weaponammo>0||timeout && this.weaponammo>0){ Ok... first of all: Weapoonfired? I think you mean weaponfired. Second of all, don't put your weaponfired and timeout together. That means you'd hafta keep firing it for the timeout to work pretty much. Third... Why in the hell are you using putexplosion? :grrr: Can't you people come up with an attack weapon that doesn't use putexplosion or lay or putbomb?! ARGGGGHHHH!!! *twitches violently. Duck falls from ceiling* Ahhh quap... *BOOM!!!* |
the "||" stands for OR so putting both of them there is ok
|
~AlphaFlame~
*didn't see the ||* :megaeek: But still, weapoonfired is bad bad :-P Wait... dragoon fired? :megaeek: OH NOOO!! *duck falls down and explodes* |
try "if (playerenters) play stef5.mid" that usually works.
|
now how do i make this go curved?
NPC Code: :grrr: :grrr: :grrr: |
Re: Why Dos'e't This Work?
Quote:
NPC Code: |
That would be nice if a player never logged off. I think if im not mistaken variables reset apon logg off.
|
Quote:
|
Quote:
|
...wow, trueheat can script! oh wait, he stole that from the levels pack...
PS: "the invincible man sent me" - lol, you can all sorts of crap in the levels pack |
Quote:
|
Quote:
|
to curve ...
to curve an NPC its best to use radius and if your still in 6th grade like some of the Graalians i know you mihgt as well try your best at moving it with x and y (++,--)
y=mx+B |
Re: Re: to curve ...
Quote:
|
| All times are GMT +2. The time now is 07:16 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.