Page 1 of 1
RequestScriptPuke
Posted: Fri Apr 03, 2015 8:44 am
by fr blood
Here is my question about this new option from Zand 2.0 that is suppose to replace ConsoleCommand("puke %%").
With the old way we were able to force the script to execute by using a negativ number like that:
ConsoleCommand("puke -635"); = ACS_ExecuteAlways(635,0,0,0,0);
So how can we force the script to execute with this new option ? Thanks.
RE: RequestScriptPuke
Posted: Fri Apr 03, 2015 10:46 am
by ZZYZX
Code: Select all
script 636 (int a0, int a1, int a2)
{
ACS_ExecuteAlways(635, 0, a0, a1, a2);
}
/* ..... */
RequestScriptPuke(636, 1, 2,3)
RE: RequestScriptPuke
Posted: Fri Apr 03, 2015 10:57 am
by Thomas
Circunei Z wrote:
Code: Select all
script 636 (int a0, int a1, int a2)
{
ACS_ExecuteAlways(635, 0, a0, a1, a2);
}
/* ..... */
RequestScriptPuke(636, 1, 2,3)
But will this also work if, say, 2 players request at the exact same time (in the same tic).
RE: RequestScriptPuke
Posted: Fri Apr 03, 2015 12:35 pm
by Edward-san
Make sure script 636 is NET and the 'RequestScriptPuke' call is done in a CLIENTSIDE script. See
http://wiki.zandronum.com/RequestScriptPuke .
RE: RequestScriptPuke
Posted: Fri Apr 03, 2015 2:04 pm
by fr blood
Ok thanks, for the help, I'm gonna try it on my project, and give you some news.