case "walk":
{
- if(argc == 3)
+ if(argc == 4)
{
e = nextent(world);
- if(tracewalk(e, stov(argv(1)), e.mins, e.maxs, stov(argv(2)), MOVE_NORMAL))
+ if(tracewalk(e, stov(argv(2)), e.mins, e.maxs, stov(argv(3)), MOVE_NORMAL))
print("can walk\n");
else
print("cannot walk\n");
case "showline":
{
- if(argc == 3)
+ if(argc == 4)
{
- vv = stov(argv(1));
- dv = stov(argv(2));
+ vv = stov(argv(2));
+ dv = stov(argv(3));
traceline(vv, dv, MOVE_NORMAL, world);
trailparticles(world, particleeffectnum("TR_NEXUIZPLASMA"), vv, trace_endpos);
trailparticles(world, particleeffectnum("TR_CRYLINKPLASMA"), trace_endpos, dv);