Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
2 registered members (AndrewAMD, TipmyPip), 12,400 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 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 | 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