Script Arguments?
Posted: Sun Dec 08, 2013 7:39 pm
Since I began map editing, the script(s) line action greets script arguments 1, 2, and 3. I have never used those, but with my question, what does that (or thoes) even do?
Leading the way in newschool multiplayer Doom online
https://zandronum.com/forum/
Could I have an example?Hypnotoad wrote: Passes arguments to the script.
Ohh! Now I see its purpose.Mr.Man wrote: acs
teleportother(source,target,tag);
arguments
teleportother(argument 1,argument 2,argument 3);
Code: Select all
script 1 open{
int monster_tid=10;
acs_execute(2,0,getactorx(monster_tid),getactory(monster_tid),getactorz(monster_tid));
}
script 2 (int monster_posx, int monster_posy, int monster_posz){
int tid_new=3;
spawn("rocket",tid_new,monster_posx,monster_posy,monster_posz);
}
Yea that. I have seen this within the line actions, such as line action 80 Script Executeibm5155 wrote: you mean something like acs_execute(script,map,arg1,arg2,arg3)?