Home   Help Search Login Register  

Author Topic: Game logic  (Read 990 times)

0 Members and 1 Guest are viewing this topic.

McHale

  • Guest
Game logic
« on: 11 Jul 2003, 04:02:41 »
How many game logics in total can you place in a mission? IE: Is there a limit?  :-*

gadolinite

  • Guest
Re:Game logic
« Reply #1 on: 11 Jul 2003, 05:20:34 »
There is none I know of.  Any mission (depending on your system, more or less) will lag if you place lots of units (not sure on logics, though).  Try to avoid this.  About the gamelogics, I never used so many of them that I really noticed a lag difference.  So I see it both ways, since a gamelogic is invisible, it will not cause lag.  Since it is a unit, it will cause lag.

Just to be safe, keep it to a minimum; by the way what do you need all the gamelogics in the world for???

CLITCOMMANDER

  • Guest
Re:Game logic
« Reply #2 on: 11 Jul 2003, 12:19:15 »
About gamelogics i'm not certain that there is a limit but i know that there is with units something like 150 units per side, also a limit of groups, 63 groups total and if im not mistaken gamelogics may take up group spots but dont take my word for it.

And to answer you question gadolinite gamelogics can be used for a number of things (obviously) wut mainly would use them for is if u would like to use a referrence for telaporting soldiers into a position or for just to name a unit. They're basicly an extra unit if u ever need one in the editing world.

BTW i no they are used a lot for CTF's

-=CC=-

McHale

  • Guest
Re:Game logic
« Reply #3 on: 12 Jul 2003, 01:35:02 »
>by the way what do you need all the gamelogics in the world for???

Because each logic in my campaign spawns units when you enter an area and removes when you leave. So the whole island can be populated without any lag.

Captain Winters

  • Guest
Re:Game logic
« Reply #4 on: 12 Jul 2003, 01:42:42 »
Mr. Commander has it right. 63 groups on a side. Counts for anything!

Tanks! 8)

Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
Re:Game logic
« Reply #5 on: 12 Jul 2003, 02:27:07 »
u can also save da memory da comp use on da GLs - just by simple work ;)

use hints (hint format ["%1",getpos GLname]) 2 get da pos of da GL - nd den u can just use dis position everywere u wanna put getpos GLname - nd if dere rGLs dat only used 4 posing - u dont need em nymore ;)

LCD OUT
"guess being the community has downsides .." - cheetah
Help Perfecting Da Next Best Thing - O-Team Beta

deaddog

  • Guest
Re:Game logic
« Reply #6 on: 12 Jul 2003, 03:24:45 »
Or use can use object IDs for positions.  Just look up the object ID of a bush or a road section where you want to go or units to appear and then do this:

unit setpos/move/whatever getpos (object 12345).

This will move or setpos the unit to the location of the object with the id = 12345.  Obviously, change the ID to the correct object  :)

This way, you do not need extra game logics or markers or have to write down the co-ordinates.