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

Members Online

»
0 Active | 64 Guests
Online:

LATEST FORUM THREADS

»
CoD: Battle Royale
CoD+UO Map + Mod Releases
Damaged .pk3's
CoD Mapping
heli to attack ai
CoD4 SP Mapping

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 2
Category: CoD2 SP Mapping
Call of Duty 2 single player mapping, scripting and everything single player.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword, playername
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked subscribe
Author Topic: Cod2 script runtime error
antonio.horvatovic0
General Member
Since: Jan 31, 2014
Posts: 225
Last: Jul 14, 2017
[view latest posts]
Level 4
Category: CoD2 SP Mapping
Posted: Monday, Apr. 21, 2014 05:28 pm
Hello every1, me again. I've done 90% of my map and now I cant even load it cause of the error: script runtime error
cannot cast undefined to string:(file 'maps/_spawner.gsc', line 4086)
possibleSpawners=getentarray(target, "targetname");
started from :(file 'maps'/_spawner.gsc', lije 4086)
waittillframeend;
*
Share |
3st0nian
General Member
Since: Jan 14, 2008
Posts: 291
Last: Dec 4, 2017
[view latest posts]
Level 5
Im a fan of MODSonair
Category: CoD2 SP Mapping
Posted: Tuesday, Apr. 22, 2014 09:03 am
Better post your entire console log. It's in the main folder.
Also try remember what changes you made to the map last and maybe try to undo them.

That error itself is located in the flood_and_secure function so you can check out all latest flood spawners you have made.
edited on Apr. 22, 2014 02:04 am by 3st0nian
Share |
antonio.horvatovic0
General Member
Since: Jan 31, 2014
Posts: 225
Last: Jul 14, 2017
[view latest posts]
Level 4
Category: CoD2 SP Mapping
Posted: Tuesday, Apr. 22, 2014 05:56 pm
attachment: application(3.8Kb)
I've deleted all the flood_and_secure triggers and it worked, but after adding them again and linking the same entities it threw me this error again. Might be some error with a node or smth?
Share |
antonio.horvatovic0
General Member
Since: Jan 31, 2014
Posts: 225
Last: Jul 14, 2017
[view latest posts]
Level 4
Category: CoD2 SP Mapping
Posted: Wednesday, Apr. 23, 2014 05:39 pm
I've deleted all the spawners, nodes and flood_and_secure triggers. Then I aded like 10 allies and 5 axis soldiers and a flood_and_secure trigger. Connected them and the ai's to their nodes. It worked, but as soon as I added the 2nd trigger with its own actors and nodes, it gave me the error again...what could cause that issue?
Share |
antonio.horvatovic0
General Member
Since: Jan 31, 2014
Posts: 225
Last: Jul 14, 2017
[view latest posts]
Level 4
Category: CoD2 SP Mapping
Posted: Friday, Apr. 25, 2014 05:49 am
Thanks to this error, I had to delete all the spawners and their nodes. This led to making a friendly chain with respawnable friendlys and making the map even better...I dont get the error anymore cause I've left only one flood_and_secure trigger. Thanks for the help!!![rocking]
Share |
antonio.horvatovic0
General Member
Since: Jan 31, 2014
Posts: 225
Last: Jul 14, 2017
[view latest posts]
Level 4
Category: CoD2 SP Mapping
Posted: Monday, Apr. 28, 2014 06:28 am
Just a last question regarding the flood_and_secure trigger. I've got a dozen of AI's on that one flood trigger, and I've noticed that they wont spawn again until the last allied soldier(I've got Axis soldiers on it too) dies. I dont think its the way its suppose to work, or am I wrong?
Share |
Restricted Access Topic is Locked subscribe
MODSonline.com Forums : Call of Duty 2 : CoD2 SP 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

»