The Exiled

Shunned by Man, Accepted by Gods
* FAQ    * Search   * Members
* Login   * Register
It is currently Thu Mar 28, 2024 4:05 am 

 View unanswered posts | View active topics


 Board index » General Area » Mapping
Post new topic Reply to topic Users browsing this forum: No registered users and 2 guests
Author
Message
TE-Braveskin

Joined: Thu Aug 11, 2005 3:28 am
Posts: 1176
Post Posted: Sat Aug 27, 2005 4:44 pm    Post subject: Question about mapping: Triggers
Reply with quote
 
So Im making a new training map for TE. I want to make a safe area. I have a big trigger placed. and ive got it named. but how do I get the trigger to actually work. I cant even get it to echo something into the console.

Heres my trigger:

Code:

instant Trigger "SafeTrigger" {
         dataBlock = "GroupTrigger";
         name = "";
         position = "-1160.5 -117.665 251.776";
         rotation = "0 0 0";
         boundingBox = "-40 -60 -50 40 60 50";
         isSphere = "True";
      };



And heres my code where I want to to echo (do stuff when I get it to work):

Code:

function SafeTrigger::onEnter(%this,%object)
{
   %type = getObjectType(%object);
   if(%type == "Player")
     {
     echo(%object);

     }
}




Thanks for considering helping :D


 Top Offline
Profile
Author
Message
TE-Braveskin

Joined: Thu Aug 11, 2005 3:28 am
Posts: 1176
Post Posted: Sat Aug 27, 2005 4:47 pm    Post subject:
Reply with quote
 
omg lol. sorry, I found my prob. Name wasnt defined. Ty for your help guys. Im going to have a kick-ass training area for you soon enough.

 Top Offline
Profile
Author
Message
TE-Krogoth


User avatar
Joined: Tue Jun 07, 2005 8:01 am
Posts: 2092
Location: Texas
Post Posted: Sat Aug 27, 2005 5:42 pm    Post subject:
Reply with quote
 
Also make sure that the trigger isn't a sphere.


Image
Image
 Top Offline
Profile WWWYIM
Author
Message
TE-Kalidor


User avatar
Joined: Tue Jun 28, 2005 7:01 am
Posts: 1047
Location: StoneHenge
Post Posted: Mon Aug 29, 2005 6:02 am    Post subject:
Reply with quote
 
-.O yup.


Image
Image
Pengwin wrote:
Hmm
 Top Offline
Profile YIM
Author
Message
TE-Reativ


User avatar
Joined: Sat Jun 11, 2005 12:10 pm
Posts: 102
Location: GA
Post Posted: Tue Aug 30, 2005 10:46 am    Post subject:
Reply with quote
 
Please make it nothing like KWSN Duel, Duel, Duel 10, or any other variations of that map. I am sick of it. If you need any help with the coding let me know, I helped Gohan with the original Duel 10 map, where there was a cheat room and such.

 Top Offline
Profile
Author
Message
TE-Kalidor


User avatar
Joined: Tue Jun 28, 2005 7:01 am
Posts: 1047
Location: StoneHenge
Post Posted: Wed Aug 31, 2005 9:37 pm    Post subject:
Reply with quote
 
heh heh....cheat room...

I've found it once.



Image
Image
Pengwin wrote:
Hmm
 Top Offline
Profile YIM
Author
Message
TE-Deadman Inc.


User avatar
Joined: Wed Jun 08, 2005 9:07 am
Posts: 1320
Location: Ozzieland
Post Posted: Thu Sep 01, 2005 12:27 am    Post subject:
Reply with quote
 
I know where the cheat room is.


Image
 Top Offline
Profile
Author
Message
TE-Braveskin

Joined: Thu Aug 11, 2005 3:28 am
Posts: 1176
Post Posted: Sat Sep 03, 2005 4:48 pm    Post subject:
Reply with quote
 
Dont worry, its a map I started from scratch.

(its going to have a treadmill... lol)


 Top Offline
Profile
Author
Message
TE-Deadman Inc.


User avatar
Joined: Wed Jun 08, 2005 9:07 am
Posts: 1320
Location: Ozzieland
Post Posted: Sat Sep 03, 2005 7:03 pm    Post subject:
Reply with quote
 
That would be interesting.


Image
 Top Offline
Profile
Author
Message
TE-Kalidor


User avatar
Joined: Tue Jun 28, 2005 7:01 am
Posts: 1047
Location: StoneHenge
Post Posted: Sat Sep 03, 2005 7:18 pm    Post subject:
Reply with quote
 
Hmm...could yo umak epart of it so we can practice skiing?


<For the ppl who dont use an autoski>



Image
Image
Pengwin wrote:
Hmm
 Top Offline
Profile YIM
Display posts from previous:  Sort by  
Post new topic Reply to topic Board index » General Area » Mapping
Previous topic :: Next topic  
Go to page 1, 2  Next
Page 1 of 2
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group