:tie: The 1st one doesnt make any difference and the 2nd one:
onClipEvent (enterFrame) {
if (_root.ship.hitTest(_root.fuel)) {
_root.doing = “Refueling”;
}
if (_root.ship.hitTest(_root.home)) {
_root.doing = “Unloading”;
}
if (_root.ship.hitTest(_root.pickup)) {
_root.doing = “Loading”;
}
if (!_root.ship.hitTest(_root.pickup) and !_root.ship.hitTest(_root.home and !_root.ship.hitTest(_root.fuel){
_root.doin = “nothing”;
}
on the output page it says:
Scene=Scene 1, Layer=ship, Frame=2: Line 11: ‘)’ or ‘,’ expected
if (!_root.ship.hitTest(_root.pickup) and !_root.ship.hitTest(_root.home and !_root.ship.hitTest(_root.fuel){
I want this code 2 add the _root.cargo total 2 my score points but only wen the ship has unloaded the cargo. i have posted the .fla so you can see wat i mean.
wicked man,. that kicks ***. thank you so much =) :tie:
am fairly new to all this actionscriptin lark but i think its cme 2gether quite well with a lil help here and there. hopefully i can do sum more stuff by myself n maybes help others in return now :goatee: :bounce:
thanks v.much
white trash get down on your knees, time for cake and sodomy.
is it possibe to make the _root.cargo ammount increase slowly, ie: a number per second, so that you have the choice of how much cargo to collect rather than it just speeding on up to 20 n u have no choice?
can this b done?
Getting high on violence baby.
Creating engaging and entertaining content for designers and developers since 1998.