Exceeded maximum number of ´trigger_objective_info´


(DarkViper609) #1

Hello for starters :slight_smile:

I’m trying to edit a map script and i get this error.

Exceeded maximum number of ´trigger_objective_info´ entities

What im trying to do is move a command post from one spot to another spot. And its Axis command post on fueldump.

So I dont know what else to do, i tried setstate invisible of the old command post, and creating a new command post in another spot.

Do you know if theres any possible ways of removing the old command post trigger_objective_info using the script, so i can continue my script?

Thanks

DarkViper609


(Wezelkrozum) #2

try the alertentity command.
like:
alertentity <targetname of the commandpost>


(DarkViper609) #3

Thanks, But its not working :frowning:

DarkViper609


(RayBan) #4

the limit is 18, and fueldump uses all toi’s allowed…

however im assuming your using etpro scripting to add new ent’s,
( if im wrong, but i dont think that i am… but if i am… well i’ll eat a bug… )

generally the toi’s in the stock maps had origin brushes but i noticed the axis toi for the cp doesnt, but
you still might be able to trick that in… to move it anywhere you want by adding a tag model like erik_ftn’s
27_tags.

you would have to add a scriptmover with a model2 of the tags where you want the toi to sit ( since there’s no origin
you would have to use dead center of the original toi ) and in the toi’s script add an attachtotag which should
make the toi jump to the new position. since its on an angle you would have to rotate the scriptmover to
sit where you think its needed to cover the build/dynamite.

now… i have not done any scripting with adding new things to a map for etpro… but it might be possible
to do it that way.


(DarkViper609) #5

well, i’ll say your wrong just make you eat the bug :slight_smile: j/k

what is erik_ftn 27_tags? I tried google and all i got is something about md3totag converter or something, and all the links are dead :stuck_out_tongue:

but are you talking about something like the models that are already in the map say something like model “*10” for the footbridge?

Thanks

-DarkViper609


(RayBan) #6

i zipped up the tags i had extracted long ago… there is documentation in them
http://raybanb.googlepages.com/27_tags.zip

basicly what i would do is make an origin brush, then another brush the same size textured with nodrawnosolid
select them both and make them a scriptmover… and the model2 as one of the tag files… im not shure which…

then place that scriptmover where u want the toi to be

attachtotag added to the script part of the toi