Jump to content
  • 0

Can anyone help me about dooming a certain map every 30 minutes?


Eros

Question


  • Group:  Members
  • Topic Count:  76
  • Topics Per Day:  0.02
  • Content Count:  202
  • Reputation:   2
  • Joined:  07/09/12
  • Last Seen:  

Dooming ordeal_a02 every 30 minutes.

 

Edited by Eros
Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 1

  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2345
  • Joined:  10/28/11
  • Last Seen:  

-	script	sample	-1,{
OnMinute00:
OnMinute30:
	.@size = getmapunits(BL_PC, "ordeal_a02", .@gid);
	for (.@i = 0; .@i < .@size; .@i++) {
		if (unitexists(.@gid[.@i]))
			unitkill .@gid[.@i];
	}
	end;
}

 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  76
  • Topics Per Day:  0.02
  • Content Count:  202
  • Reputation:   2
  • Joined:  07/09/12
  • Last Seen:  

Thank you guys how about warping everyone on savepoint during 30 minutes?

 

Link to comment
Share on other sites

  • 0

  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2345
  • Joined:  10/28/11
  • Last Seen:  

1 hour ago, Eros said:

Thank you guys how about warping everyone on savepoint during 30 minutes?

-	script	sample	-1,{
OnMinute00:
OnMinute30:
	.@size = getmapunits(BL_PC, "ordeal_a02", .@name$);
	for (.@i = 0; .@i < .@size; .@i++)
		warp "SavePoint", 0, 0, convertpcinfo(.@name$[.@i], CPC_CHAR);
	end;
}

 

Link to comment
Share on other sites

  • -1

  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.01
  • Content Count:  145
  • Reputation:   36
  • Joined:  05/15/20
  • Last Seen:  

4 hours ago, Eros said:

Dooming ordeal_a02 every 30 minutes.

 

ordeal_a02,1,1,1	script	DOOMMAP	FAKE_NPC,{
	OnMinute30:
		atcommand "@doommap";
		end;
}

Try this one.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...