Welcome to Open Carnage

A resource for Halo Custom Edition and MCC modding, with unique means of rewarding content creation and support. Have a wander to see why we're worth the time! - EST. 2012

Sign in to follow this  
Followers 0
Krazychic

Event.txt help

event_join 'w8 300;say $n "message here"'

 

What would I add to the above, if possible, for an event to only appear during certain game types on a server please?

Share this post


Link to post
Share on other sites

Tiddy-bits:

Add conditions in front of the command. 

 

$gt: then the game-type will suit your purpose

 

event_join $gt:cft 'w8 300;say $n "message here" 

event_join $gt:slayer 'w8 300;say $n "message here"

Share this post


Link to post
Share on other sites

ok, so I changed my events to accommodate my need and neither of the variables mentioned above work on the server.  I reloaded sapp, restarted the server after each testing, changed it to read gametype and game mode and made sure I had spacing correct but to no avail. 

 

event_join $mode:cft 'w8 50;say $n "message here"'

 

event_join $mode:night_cft 'w8 200;say $n "message here"'

 

or

 

event_join $gt:cft 'w8 50;say $n "message here"'

 

event_join $gt:night_cft 'w8 200;say $n "message here"'

 

What am I doing wrong?

Edited by Krazychic

Share this post


Link to post
Share on other sites

event_join $mode:cft 'w8 50;say $n "message here"

 

event_join $mode:night_cft 'w8 200;say $n "message here"

did you create the gametype, first ? it should working fine.. or maybe try restart the server. because thats the only way to load new gametype

 

maybe this will solve your events

Edited by HAN-105

Share this post


Link to post
Share on other sites

try this basic first:

 

add this to events.txt

 

event_join $mode:cft 'w8 5;say $n "message here" '

 

start the server, login,

type in chat;

/map bloodgulch ctf

 

then it will start bloodgulch with ctf gametype.

 

then wait 5 seconds and see message shows or not.

 

-----

 

w8 = seconds

wait = mili seconds

 

so, in your example has 50 seconds and 200 seconds waiting every time. so that's why i make it 5. just to test the message is working hor not.

if its working, then, change 5 to 50 as you want

 

--

Edited by no offence

 

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0
  • Recently Browsing   0 members

    No registered users viewing this page.