AGS build-in functions and variables

Started by Ishmael, Wed 10/09/2003 15:29:18

Previous topic - Next topic

Ishmael

Just thought, how dangerous is it to modify the syntaxes of the build-in functions or variables? Do you need a special program to do this safe? How bad damage does Notepad cause?

I mean, like changing the game.inv_activated to game.lastinv, for example. Or adding global vars, like gs_globalstrings[50]?
I used to make games but then I took an IRC in the knee.

<Calin> Ishmael looks awesome all the time
\( Ö)/ ¬(Ö ) | Ja minähän en keskellä kirkasta päivää lähden minnekään juoksentelemaan ilman housuja.

Gilbert

I really don't understand why someone would want to do this, and it's not worth trying anyway.

RickJ

Mostly, what you are talking about won't work as these things are cast in stone when the "holy source" is compiled into AGSEDIT.EXE.  

Pumaman

I would strongly recommend against editing any of the AGS files in this way. It might work, but then it probably won't. I will not accept responsibility from anything that happens if you edit the files.

More than likely, it will seem to work to begin with, but you'll start getting strange bugs creeping into places in your game.

Basically, if it's built-in, don't change its name.

If it's not, use the script header.

Ishmael

I used to make games but then I took an IRC in the knee.

<Calin> Ishmael looks awesome all the time
\( Ö)/ ¬(Ö ) | Ja minähän en keskellä kirkasta päivää lähden minnekään juoksentelemaan ilman housuja.

SMF spam blocked by CleanTalk