Login x
User Name:
Password:
Social Links Facebook Twitter YouTube Steam RSS News Feeds

Members Online

»
0 Active | 58 Guests
Online:

LATEST FORUM THREADS

»
CoD: Battle Royale
CoD+UO Map + Mod Releases
Damaged .pk3's
CoD Mapping
heli to attack ai
CoD4 SP Mapping

Forums

»

Welcome to the MODSonline.com forums. Looking for Frequently Asked Questions? Check out our FAQs section or search it out using the SEARCH link below. If you are new here, you may want to check out our rules and this great user's guide to the forums and the website.
For more mapping and modding information, see our Wiki: MODSonWiki.com

Jump To:
Forum: All Forums : DOOM III
Category: DOOM III Mapping
D3 mapping and level design.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked subscribe
Author Topic: Trigger Target :\
JBAM
General Member
Since: Jun 7, 2004
Posts: 86
Last: May 10, 2005
[view latest posts]
Level 3
Category: DOOM III Mapping
Posted: Wednesday, Sep. 22, 2004 04:50 pm
Hi there, me again :biggrin:

For the life of me, I cant work out how to target an imp to teleport :(

I've set "teleport" value: 1

I have a "trigger_once" entity ---> Cant find out how to actually target something with it though! ("target" [imp's name] doesn't seem to work)

I've spent hours now! I even set the trigger to call a script, and inside that script wrote:

void Spawn_Imp () {
$Imp,teleport(1)
}

I have no idea what it means, but sorted followed the jist of foylemans handy rotating door vid! (I called the monster "Imp")

please help me [ohwell]

bam
Share |
foyleman
Preferred PLUS Member
Since: Nov 7, 2001
Posts: 95765
Last: Apr 9, 2024
[view latest posts]
Level 10
Admin
Forum Moderator
Im a fan of MODSonair
Im a HOST of MODSonair
Category: DOOM III Mapping
Posted: Wednesday, Sep. 22, 2004 05:59 pm
there are two easy ways to target something from the editor.

- super easy way: select the trigger entity first. Then select the entity you wish to trigger. Finally hit CRTL + k

- more precise way: rename or note the name of the entity you wish to trigger. select the trigger entity and enter the key of target and the value of the the name you noted earlier.
Go ahead... You Play I Mod : Support Modsonline by becoming a PREFERRED MEMBER today!
Have you heard the MODSonair Podcast?:
MODSonair is a weekly podcast bringing you the news from a modders perspective.
Tune in every Sunday at 12pm EST to listen LIVE.
Quake 4 Mods for Dummies - Half-Life 2 Mods for Dummies
Share |
Liquefier
General Member
Since: Aug 18, 2004
Posts: 67
Last: Oct 19, 2004
[view latest posts]
Level 3
Category: DOOM III Mapping
Posted: Wednesday, Sep. 22, 2004 06:17 pm
That script won't work the way you want it to
Quote:
void Spawn_Imp () {
$Imp,teleport(1)
}



First of all there is a syntax error there. you have a comma instead of a period. Secondly, there is no semicolon(;) to tell it that the command is over. I suggest you use lower case letters, at least for the first one. It moght give you a warning. ex: imp.teleport(1);

Also, that's not going to trigger the imp to teleport, and I'm not even sure it will set his teleport value to 1. It might.

Use a different name. I'm not sure how the doom3 engine handles its namespaces (objects having the same name in different levels of code) but that might be the problem that "imp" is being used by something else internally. Change it to "myimp" or something like that

Finally, check out my post on triggering entites in the console.

Hope this helps
Share |
JBAM
General Member
Since: Jun 7, 2004
Posts: 86
Last: May 10, 2005
[view latest posts]
Level 3
Category: DOOM III Mapping
Posted: Thursday, Sep. 23, 2004 02:20 am
tee hee hee

Sorry for the no doubt ugly coding blunder... hope it gave you guys some entertainment... :)

(It was a little hard to make out the comma --> fullstop in the vid... else, those tutes are fantastic m8!)

So i guess I mispelt something:

Key: target
Value: ent_name

hehe thats the FIRST thing i tried :(... damn, must've been a bit hasty and moved on in a panick
Share |
Restricted Access Topic is Locked subscribe
MODSonline.com Forums : DOOM III : DOOM III Mapping

Latest Syndicated News

»
Codutility.com up and runn...
Nice, and there still using the logo and template for the screenshots, which...
Codutility.com up and runn...
dundy writes...Quote:Call of Duty modding and mapping is barly alive only a ...
Codutility.com up and runn...
Mystic writes...Quote:It seems to me the like the site is completely dead? ...
Codutility.com up and runn...
It seems to me the like the site is completely dead?

Partners & Friends

»