Menu

Tools Commit Log


Commit Date  
[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
[r2035] by sumolx

Fixed shutting down error I introduced in soundmix and updated writeToScriptLog to work the same as writeToLogFile so arguments can be used. Also updated control.c to use printf instead of writeToLogFile for debugging purposes on visual studio/console debugging.

2008-10-10 20:32:27 Tree
[r2034] by sumolx

Restored XPorts code.... for now so i can cleanup all the code and reverse engineer his sillynouse!!!

2008-10-05 04:37:28 Tree
[r2033] by sumolx

Restored XPorts code....

2008-10-05 04:29:49 Tree
Older >
MongoDB Logo MongoDB