Menu

Tools Commit Log


Commit Date  
[r2045] by kbandressen

Fixed memory leaking bug with updated_script.

2008-11-26 20:46:49 Tree
[r2044] by kbandressen

Some tweaking of the textobj code. Also increased the max for textobjs and filestreams to 50 now that their data is dynamically allocated.

2008-11-22 20:37:28 Tree
[r2043] by kbandressen

Fixed some allocation problems with textobjs.

2008-11-22 11:17:48 Tree
[r2042] by kbandressen

New script functions:

openfilestream("data/filepath/file.txt");
-opens a text file and returns the index that other functions can use to access it. Indexes are assigned in order of creation, from 0 to the maximum number of filestreams (currently 20).

getfilestreamline(int index);
-Returns the current line of the file as a string, cutting it off if it's larger than the maximum string length.

getfilestreamargument(int index, int argumentnumber, string returntype);
-Returns the specified argument at the current position. For example, with this line:

Stringargument 1 3.4

you would get these results:

getfilestreamargument(index, 0, "string") -> Stringargument
getfilestreamargument(index, 1, "int") -> 1
getfilestreamargument(index, 2, "float") -> 3.4
getfilestreamargument(index, 2, "int") 3

filestreamnextline(int index);
-Moves to the next line of the file that has any characters.

getfilestreamposition(int index);
-Returns the current position in the file.

setfilestreamposition(int index, int position);
-Sets the current position. Record a position with getfilestreamposition to go to, or set it to 0 to go back to the beginning of the file.

2008-11-21 23:31:02 Tree
[r2041] by sumolx

We now support the Win32 PSPSDK

2008-11-03 19:23:58 Tree
[r2040] by orochi_x

Broke special2 whilst fixing level noshare bug. Fixed.

2008-10-26 11:33:57 Tree
[r2039] by kbandressen

Moved the didhitscript execution in didfind_item to the end of the function so it can be used to undo any of the hard coded item code.

2008-10-22 19:39:23 Tree
[r2038] by damon_caskey

didhitscript now executes when item is collected (item is attacker, collecting entity is defender). Item scripting won't have to be nearly as hacky.

2008-10-21 15:16:12 Tree
[r2037] by orochi_x

Dynamic rise and blockpain anims , juggle system , OTG hits , anim chipdeath and various fixes.

2008-10-21 15:14:29 Tree
[r2036] by sumolx

Restored writeToScriptLog() since it causing issues?!?

2008-10-16 16:53:54 Tree
Older >
MongoDB Logo MongoDB