Gamestudio Links
Zorro Links
Newest Posts
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (Akow), 1,403 guests, and 9 spiders.
Key: Admin, Global Mod, Mod
Newest Members
AemStones, LucasJoshua, Baklazhan, Hanky27, firatv
19055 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Engine Stürtzt einfach ab! #12634
05/13/03 18:24
05/13/03 18:24
Joined: Aug 2002
Posts: 791
NRW, Deutschland
inFusion Offline OP
User
inFusion  Offline OP
User

Joined: Aug 2002
Posts: 791
NRW, Deutschland
Hi!
Immer wnn ich meine Rakete abfeuern will stoppt die engine ujnd präsentiert mir folgende Fehlermeldung:

crash in move(my, procket_speed, nullvector);

Mein Code sieht folgendermaßen aus und stammt größenteils au AUM:

code:
 
function player_rocket(){
my.passable = on;
me = procket_ptr;
my.skill40 = 1; // it is a rocket(otherwise skill40 is 0)
my.tilt = you.tilt; //Comes out of a barrel of a tank (YOU = the barrel)
my.enable_impact = on;
my.enable_block = on;
my.enable_entity = on;
my.event = explode_rocket; //Explode Script
my.skill5 = 0; // used for vertical movement
procket_speed.x = 100;
procket_speed.y = 0;
procket_speed.z = 0;
procket_speed.x *= time;
procket_speed.y *= time;
procket_speed.z *= time;
while (my != null) {
my.skill5 += time;
if (my.skill5 > 20) {
procket_speed.z -= fall_speed * time;
}
move_mode = ignore_you + ignore_passable; // ignores the barrel -> can't collide with it
move (my, procket_speed, nullvector);
wait (1);
}
}


Jetzt frage ich mich, wenn er beim kompiieren keinen Fehler meldet, und ich auch so keinen entdecke, warum meldet der einen fehler???

Ich bin dankbar für jede hilfe!

Thx HeLioS


"Wer nicht mit der Zeit geht, muss mit der Zeit gehen" - Bernd Stromberg
----
www.kihaki.de/reincarnation
Re: Engine Stürtzt einfach ab! #12635
05/14/03 02:48
05/14/03 02:48
Joined: Jul 2002
Posts: 3,208
Germany
Error014 Offline
Expert
Error014  Offline
Expert

Joined: Jul 2002
Posts: 3,208
Germany
Ersetz dein move (my,procket_speed,nullvector);

durch ent_move(procket_speed,nullvector); !


Perhaps this post will get me points for originality at least.

Check out Dungeon Deities! It's amazing and will make you happy, successful and almost certainly more attractive! It might be true!

Moderated by  HeelX, Spirit 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1