This member has provided no bio about themself...

  • View media
  • View media
  • View media
  • View media
  • View media
  • View media
Report RSS COD2 SCRIPTING TROUBLES (view original)
COD2 SCRIPTING TROUBLES
embed
share
view previous next
Share Image
Share on Facebook Post Email a friend
Embed Image
Post comment Comments
BrandonDR Author
BrandonDR - - 198 comments

Does anyone knows what is happening? i get this advice while playing at the middle of a mission.

Reply Good karma+2 votes
MCh2207Cz
MCh2207Cz - - 2,073 comments

it means you reached the engine limit for variables in your mapscript (GSC). a variable is any entity called in a mapscript. to get rid of this error you must remake your mapscript to delete all unnecessary and leftover variables throughout the mission.
for example you have objective_1 which is to blow something. so you need to call out lets say script_models "military_tntbomb" and "military_tntbomb_obj". the correct way is to have the objective_1 as a separate closed thread() and all objects that are needed just in objective_1 (like the tnt models for example) should be deleted as soon as they are no longer needed.

Reply Good karma Bad karma+3 votes
BrandonDR Author
BrandonDR - - 198 comments

i just did that and deleted all the already used entitys in the .gsc and this continues happening :(( and i just have in the map script like 30 variables

Reply Good karma+2 votes
MCh2207Cz
MCh2207Cz - - 2,073 comments

Ok, in that case you probably got an infinite loop in your script. See this: Modsonline.com

Reply Good karma Bad karma+1 vote
BrandonDR Author
BrandonDR - - 198 comments

Yup i have an infinite loop haha :'(

Reply Good karma+2 votes
SPi-99 Online
SPi-99 - - 779 comments

An other good suggestion is to look what other scripts your main script calls and if more variables are added or called from there.

Reply Good karma Bad karma+2 votes
Post a comment

Your comment will be anonymous unless you join the community. Or sign in with your social account: