lfnetwork.com mark read register faq members calendar

Thread: WTF - Triggers
Thread Tools Display Modes
Post a new thread. Add a reply to this thread. Indicate all threads in this forum as read. Subscribe to this forum. RSS feed: this forum RSS feed: all forums
Old 06-18-2004, 11:21 PM   #1
GangsterAngel
Rookie
 
GangsterAngel's Avatar
 
Join Date: May 2004
Posts: 139
WTF - Triggers

im trying to make a race system for a mod..
i set the key and value in radient map editor.. but it dosent look
like JA is loading the values,, it always thinks its 0

Code:
	// Race Test
		trap_SendServerCommand( -1, va( "print \"^3Check-Hit"));

	if (ent->team=="checkpoint1" && other->client->ps.racecheck==0) {
	trap_SendServerCommand( other-g_entities , va( "print \"Checkpoint 1 hit"));
    other->client->ps.racecheck=1;
	}

	if (ent->team=="checkpoint2" && other->client->ps.racecheck==1) {
	trap_SendServerCommand( other-g_entities , va( "print \"Checkpoint 2 hit"));
    other->client->ps.racecheck=2;
	}

	if (ent->team=="checkpoint3" && other->client->ps.racecheck==2) {
	trap_SendServerCommand( other-g_entities , va( "print \"Checkpoint 3 hit"));
    other->client->ps.racecheck=3;
	}

	if (ent->team=="start" && other->client->ps.racecheck==3) {
	trap_SendServerCommand( other-g_entities , va( "print \"start Checkpoint hit"));
    other->client->ps.racecheck=0;
	}	if ( G_SpawnString( "noise", "", &s ) )
GangsterAngel is offline   you may: quote & reply,
Old 06-22-2004, 10:52 AM   #2
GangsterAngel
Rookie
 
GangsterAngel's Avatar
 
Join Date: May 2004
Posts: 139
Thanx

Thanx for the reply's ..
GangsterAngel is offline   you may: quote & reply,
Old 06-24-2004, 04:48 PM   #3
Wudan
Got Balance?
 
Wudan's Avatar
 
Join Date: Oct 2002
Location: Salt Lake, UT
Posts: 1,442
Well, it sounds like a complex system.

Why the teamnames and whatnot - what's supposed to happen when players touch the triggers, and why?


Mt-Wudan.com
I made a silly little program called Dragon, which is an animation tool for the GLA format, used in Jedi Outcast, Jedi Academy and Krakatoa.
Wudan is offline   you may: quote & reply,
Old 06-25-2004, 09:19 PM   #4
GangsterAngel
Rookie
 
GangsterAngel's Avatar
 
Join Date: May 2004
Posts: 139
thay R checkpoints . for a race mode
GangsterAngel is offline   you may: quote & reply,
Old 06-30-2004, 07:39 AM   #5
razorace
Impressive, Terran!
 
razorace's Avatar
 
Join Date: May 2002
Posts: 9,187
How exactly are you checking for players touching the checkpoints?


---Jedi Guardian of the Newbie Questions
---Masters of the Force Team Leader / Creator
---Open Jedi Project Lead Moderator / Co-Founder
razorace is offline   you may: quote & reply,
Post a new thread. Add a reply to this thread. Indicate all threads in this forum as read. Subscribe to this forum. RSS feed: this forum RSS feed: all forums
Go Back   LucasForums > Network > JediKnight Series > Editing Central > JA Coding > WTF - Triggers

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 01:02 AM.

LFNetwork, LLC ©2002-2011 - All rights reserved.
Powered by vBulletin®
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.