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.
RequestScriptPuke
- ZZYZX
- Posts a lot
- Posts: 742
- Joined: Thu Jun 07, 2012 5:56 pm
- Location: Ukraine
- Clan: A3
- Clan Tag: [A3]
RE: RequestScriptPuke
Code: Select all
script 636 (int a0, int a1, int a2)
{
ACS_ExecuteAlways(635, 0, a0, a1, a2);
}
/* ..... */
RequestScriptPuke(636, 1, 2,3)
Last edited by ZZYZX on Fri Apr 03, 2015 10:46 am, edited 1 time in total.
quality DoomExplorer hackeringFilystyn wrote:Do you know what windows.h is? It's D, DWORD.
overcomplicated ZDoom grenade
random Doom things
GZDoomBuilder-Bugfix
RE: RequestScriptPuke
But will this also work if, say, 2 players request at the exact same time (in the same tic).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)
-
Edward-san
- Developer
- Posts: 382
- Joined: Fri May 25, 2012 8:14 pm
RE: RequestScriptPuke
Make sure script 636 is NET and the 'RequestScriptPuke' call is done in a CLIENTSIDE script. See http://wiki.zandronum.com/RequestScriptPuke .
- fr blood
- Frequent Poster Miles card holder
- Posts: 995
- Joined: Wed Mar 06, 2013 4:04 pm
- Location: France
RE: RequestScriptPuke
Ok thanks, for the help, I'm gonna try it on my project, and give you some news.