Gravity, trigger, and local message

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
User avatar
IvanTheTerrible
Sergeant
Posts: 55
Joined: Thu Jun 26, 2003 7:35 pm
Location: Upland, CA

Gravity, trigger, and local message

Post by IvanTheTerrible »

Is it possible to adjust the gravity for a player while they are in a defined trigger area, and then readjust in back to original after the player has left the trigger area? Also, how would one go about sending a message to only the local player entering the trigger area?
User avatar
tltrude
Chuck Norris
Posts: 4774
Joined: Sun Jul 07, 2002 4:03 am
Location: Oklahoma, USA
Contact:

Trigger push

Post by tltrude »

There is a trigger_push that can be adjusted for how hard it pushes the player. A target entity can be used with it. So, if you use a script_origin and target it with the trigger, the player will try to fly to that spot.

There is a trigger_push like that in this tutorial map--in the player cannon.

http://pages.sbcglobal.net/tltrude/Temp ... ngdoor.zip

Image
Tom Trude,

Image
Guitarfan
Warrant Officer
Posts: 135
Joined: Thu Jul 24, 2003 11:54 am
Location: Escharen, Noord-Brabant, The Netherlands
Contact:

Post by Guitarfan »

wow cool :D, i have that map, but I never knew you could get in the canon :)
Image
Whatever You Say I Am
Private
Posts: 7
Joined: Sat Sep 13, 2003 10:02 am

Post by Whatever You Say I Am »

Whats that map name? Where can I DL it from?

Thanks.
>>>I am whatever you say I am<<<
User avatar
Sonsai
Colonel
Posts: 438
Joined: Mon Feb 17, 2003 1:40 pm
Location: Wisconsin
Contact:

Post by Sonsai »

The link is in his post...
Image
Whatever You Say I Am
Private
Posts: 7
Joined: Sat Sep 13, 2003 10:02 am

Post by Whatever You Say I Am »

Thats only the script, isnt it? I want the map.
>>>I am whatever you say I am<<<
User avatar
tltrude
Chuck Norris
Posts: 4774
Joined: Sun Jul 07, 2002 4:03 am
Location: Oklahoma, USA
Contact:

zip

Post by tltrude »

The zip includes the .map file, a playable pk3, and a text version of the script. Everyone is welcome to copy and use anything they like from the map.

Image
Tom Trude,

Image
Whatever You Say I Am
Private
Posts: 7
Joined: Sat Sep 13, 2003 10:02 am

Post by Whatever You Say I Am »

Thanks, I thought that was only the script.
>>>I am whatever you say I am<<<
Post Reply