Jump to content
  • 0

Help Me with this Script


SlashGeeGee

Question


  • Group:  Members
  • Topic Count:  111
  • Topics Per Day:  0.02
  • Content Count:  573
  • Reputation:   20
  • Joined:  11/19/11
  • Last Seen:  

Hello rA :)

can someone help me with this script ? just put setcell unwalkable before the match starts.

script : http://upaste.me/963058069f68082

Team 1

First Cell : rwc03 ( 14,53 )

to

this Cell : rwc03 ( 14,16 )

Team 2

First Cell : rwc03 ( 87,53 )

to

this Cell : rwc03 ( 87,46 )

after the party warp a countdown will starting counting 5..4..3..2..1 then announces GO ! then the cells will be now walkable. then if the match ends cells will be now unwalkable.

Thank you !

Hope someone will edit it .

SlashGeeGee

bump

Link to comment
Share on other sites

6 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  209
  • Topics Per Day:  0.05
  • Content Count:  892
  • Reputation:   27
  • Joined:  12/09/11
  • Last Seen:  

set cell_walkable 1 WALKABLE

and

set cell_walkable 0 UNWALKABLE

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  111
  • Topics Per Day:  0.02
  • Content Count:  573
  • Reputation:   20
  • Joined:  11/19/11
  • Last Seen:  

set cell_walkable 1 WALKABLE

and

set cell_walkable 0 UNWALKABLE

where do i put in in the script ?

how about the counting ?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  209
  • Topics Per Day:  0.05
  • Content Count:  892
  • Reputation:   27
  • Joined:  12/09/11
  • Last Seen:  

counting?

add

sleep2(1000) < --- 1 sec

announce "10",0;

sleep2(1000)

announce "9",0;

sleep2(1000)

announce "8",0;

Edited by bVersatile
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  111
  • Topics Per Day:  0.02
  • Content Count:  573
  • Reputation:   20
  • Joined:  11/19/11
  • Last Seen:  

thanks for that where can i insert that part ? then after the match the setcell will return

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  209
  • Topics Per Day:  0.05
  • Content Count:  892
  • Reputation:   27
  • Joined:  12/09/11
  • Last Seen:  


OnStart:
setcell "rwc.gat",<x>,<y>,<x2>,<y2>,cell_walkable,0;
warpparty "rwc03",9,50,$@TeamID1;
warpparty "rwc03",91,50,$@TeamID2;
sleep2 1000;
announce "5",0;
sleep2 1000;
announce "4",0; // Just continue this
setcell "rwc.gat",<x>,<y>,<x2>,<y2>,cell_walkable,1;
set @start,1;
end;

on the end


lend:
setcell "rwc.gat",<x>,<y>,<x2>,<y2>,cell_walkable,0; // just like the no vend of GM Dev!
stopnpctimer;
set $@TeamID1,0;
set $@TeamID2,0;
set @start,0;
set @win1,0;
set @win2,0;
set @partymembercount,$@members;
announce "Thanks for playing",0;
end;

the color red block the walkable there you must filled it!
note :  

do not filled this <X> and <y>
[color=#008000]warpparty "rwc03",9,50,$@TeamID1;
warpparty "rwc03",91,50,$@TeamID2;[/color]
_____________
|  [color=#ff0000]|[/color]						|
|  [color=#ff0000]|[/color]						|
|  [color=#ff0000]|[/color]						|
|  [color=#ff0000]|[/color]						|
|  [color=#ff0000]|[/color]						|
|_[color=#ff0000]|[/color]____________|

dont' forget to add this


OnInit:
setcell "<map>",1,1,312,392,cell_walkable,1;
end;

try that~

Edited by bVersatile
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  111
  • Topics Per Day:  0.02
  • Content Count:  573
  • Reputation:   20
  • Joined:  11/19/11
  • Last Seen:  

i don't understand this part :

the color red block the walkable there you must filled it!

note :

do not filled this <X> and <y>

warpparty "rwc03",9,50,$@TeamID1;

warpparty "rwc03",91,50,$@TeamID2;

_____________

| | |

| | |

| | |

| | |

| | |

|_|____________|

also in the OnInit part what must i change in there ?


dont' forget to add this


OnInit:
setcell "<map>",1,1,312,392,cell_walkable,1;
end;

Edited by SlashGeeGee
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...