dantedevil
Well-known member
Lately I have been working on improving the artificial intelligence of the enemies, so that when we have on screen several enemies of the same type, they do not have exactly the same behavior.
For this undoubtedly the best would be a random aimove, so try to find information about it and probe with this scrip, but it did not work.
The log does not tell me much about it either ...
For this undoubtedly the best would be a random aimove, so try to find information about it and probe with this scrip, but it did not work.
Code:
anim idle2
@script
void self = getlocalvar("self");
if(frame == 0){
changeentityproperty(e, "aimove", openborconstant("AIMOVE1_WANDER"));
}
@end_script
loop 1
delay 20
offset 82 177
bbox 63 68 39 112
@cmd clearL
frame data/chars/gang1/tallman/idle0.png
frame data/chars/gang1/tallman/idle1.png
delay 28
frame data/chars/gang1/tallman/idle2.png
delay 20
frame data/chars/gang1/tallman/idle1.png
The log does not tell me much about it either ...
Code:
Script compile error in 'TALLMAN': e line 284, column 25
********** An Error Occurred **********
* Shutting Down *
Can't compile script 'TALLMAN' data/chars/gang1/tallman/tallman.txt
Total Ram: 4294967295 Bytes
Free Ram: 4294967295 Bytes
Used Ram: 181211136 Bytes
Code:
Destroyed...Done.
Unload 'RollDrum' ............Done.
Unload 'RollBarrel' ............Done.
Unload 'TALLMAN_bp' ............Done.
Unload 'cargang' ............Done.
Warning: 8 script variants are not freed, dumping...
openbor_array
openbor_loadsprite
openbor_loadsprite
openbor_loadsprite
openbor_loadsprite
openbor_loadsprite
openbor_loadsprite
openbor_loadsprite
Release game data............ Done!
Release timer................ Done!
Release input hardware....... Done!
Release sound system......... Done!
Release FileCaching System... Done!
**************** Done *****************
Can't compile script 'TALLMAN' data/chars/gang1/tallman/tallman.txt
Last edited: