![]() |
Bomb class
X_X I know this is probably a simple syntax problem, but still:
Having trouble with these scripts, trying to make a bomb that works on gmaps. Weapon: PHP Code:
PHP Code:
|
putnpc2(posx, posy, "code");
In this case: putnpc2(player.x, player.y, "join bomb;"); Also, it's setcharani("ani", "params"); |
And now that I think of it, this is a pretty crappy script, first off, I forgot destroy (now I have explosions sitting in main), I cannot lift this, without it looking like a person, explosions don't set other bombs off, AND, it doesn't do damage. Help? :frown:
|
How could you make it so when the bomb is lifted, it keeps the gani of a bomb, and it does not explode. For not explode I'm thinking of testing if it's being carried (I forget, can I do this?) and then putting the tieout in a loop untill dropped. This would probably work for the gani as well. I have also realized that the bomb is only able to cause damage off the gmap. Why?
|
| All times are GMT +2. The time now is 10:35 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.