Login x
User Name:
Password:
Social Links Facebook Twitter YouTube Steam RSS News Feeds

Members Online

»
0 Active | 9 Guests
Online:

LATEST FORUM THREADS

»
warfare
CoD4 Map + Mod Releases
Voting menu on maps
CoD+UO General
Hauling 911
CoDBO3 General

Forums

»

Welcome to the MODSonline.com forums. Looking for Frequently Asked Questions? Check out our FAQs section or search it out using the SEARCH link below. If you are new here, you may want to check out our rules and this great user's guide to the forums and the website.
For more mapping and modding information, see our Wiki: MODSonWiki.com

Jump To:
Forum: All Forums : Call of Duty
Category: CoDUO Mapping
CoD United Offensive mapping and level design.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked
Page
Previous Page
subscribe
Author Topic: Script Compile Error: Bad Syntax
BR3NTB
General Member
Since: Jun 20, 2004
Posts: 893
Last: Mar 3, 2006
[view latest posts]
Level 7
Category: CoDUO Mapping
Posted: Monday, Sep. 12, 2005 12:02 am
Do It Like This:
Code:

target = getent("tank_shoot","targetname");
Tank setTurretTargetEnt(target, (-464, -192, -432 ));

[smokin]
Share |
Ethnik_Man
General Member
Since: Jul 27, 2005
Posts: 417
Last: Feb 1, 2008
[view latest posts]
Level 5
Category: CoDUO Mapping
Posted: Monday, Sep. 12, 2005 12:03 am
Thank God for BR3NT!
Share |
Ethnik_Man
General Member
Since: Jul 27, 2005
Posts: 417
Last: Feb 1, 2008
[view latest posts]
Level 5
Category: CoDUO Mapping
Posted: Monday, Sep. 12, 2005 12:11 am
now i get something that says it couldnt find the vehicle info blah blah...

isnt "tiger" the vehicletype for the Tiger Tank or is "Tiger", or "TigerTank" like the sherman's vehicletype?
Share |
Ethnik_Man
General Member
Since: Jul 27, 2005
Posts: 417
Last: Feb 1, 2008
[view latest posts]
Level 5
Category: CoDUO Mapping
Posted: Monday, Sep. 12, 2005 12:12 am
lol stupid me
i forgot to put in the vehicletype for one of the tanks...
Share |
Ethnik_Man
General Member
Since: Jul 27, 2005
Posts: 417
Last: Feb 1, 2008
[view latest posts]
Level 5
Category: CoDUO Mapping
Posted: Monday, Sep. 12, 2005 12:21 am
alright now i get "undefined is not an entity"...
this line got the error:

tank attachPath(path);

what seems to be "undefined"?
Share |
Ethnik_Man
General Member
Since: Jul 27, 2005
Posts: 417
Last: Feb 1, 2008
[view latest posts]
Level 5
Category: CoDUO Mapping
Posted: Monday, Sep. 12, 2005 01:01 am
its a script runtime error
Share |
Slime0
General Member
Since: Aug 25, 2005
Posts: 63
Last: Apr 23, 2006
[view latest posts]
Level 3
Category: CoDUO Mapping
Posted: Monday, Sep. 12, 2005 03:12 am
When it gives you the error, underneath "tank attachPath(path);", there should be an asterisk or something that shows exactly what part of the line the error happened on - it should probably be just under "tank" or "path".

If it says "undefined is not an entity", then it expected an entity (such as a vehicle or a vehicle node) but you gave it undefined, which means that the line

tank = getent ( "tank","targetname");

or

path = getVehicleNode ("tankpath","targetname");

didn't successfully find an entity or vehicle node whose targetname was tank or tankpath.

This means you didn't place such a tank/node in CODRadiant, or if you did, you didn't set its targetname.
Share |
Ethnik_Man
General Member
Since: Jul 27, 2005
Posts: 417
Last: Feb 1, 2008
[view latest posts]
Level 5
Category: CoDUO Mapping
Posted: Monday, Sep. 12, 2005 03:17 am
ok thank you, ill give it a try and adjust the file...[lol]
Share |
Ethnik_Man
General Member
Since: Jul 27, 2005
Posts: 417
Last: Feb 1, 2008
[view latest posts]
Level 5
Category: CoDUO Mapping
Posted: Monday, Sep. 12, 2005 03:29 am
HAHA IT WORKS PERFECTLY FINE!!!!! THANKS ALL!!!!


[biggrin][casanova][lol][rocking][wave][tongue][thumbs_up][cool]
Share |
Restricted Access Topic is Locked
Page
Previous Page
subscribe
MODSonline.com Forums : Call of Duty : CoDUO Mapping

Latest Syndicated News

»
Codutility.com up and runn...
Nice, and there still using the logo and template for the screenshots, which...
Codutility.com up and runn...
dundy writes...Quote:Call of Duty modding and mapping is barly alive only a ...
Codutility.com up and runn...
Mystic writes...Quote:It seems to me the like the site is completely dead? ...
Codutility.com up and runn...
It seems to me the like the site is completely dead?

Partners & Friends

»