Scripting question about brains
I've read that, when creating a human sprite, you should give 'm a brain (9, 10 or 16), but I've got some scripts which are running fine even though the brain is 0. Like this:
int &ex = create_sprite(442, 191, 0, 253, 1);
sp_base_walk(&ex, 250);
sp_speed(&ex, 1);
And those are sprites with move_stop(); and sp_dir(); in the script.
So what exactly is the use of the brain number?
int &ex = create_sprite(442, 191, 0, 253, 1);
sp_base_walk(&ex, 250);
sp_speed(&ex, 1);
And those are sprites with move_stop(); and sp_dir(); in the script.
So what exactly is the use of the brain number?