Okay, Im using the command " setcvar cg_3rd_person 1" in my script and it works great.
What I'm trying to do is to make that command work only in a particular area.
Would I use a script_object tied to a trigger for that area?
If yes, what would it look like?
ThxinAdv::
Switching perspective
Moderator: Moderators
Switching perspective
"all the governments in the world are corrupt and in the hands of the Illuminati"
What would the script_object be for ? maybe just make a big trigger and when the player is inside of it he will be in 3rd person .
Make a big trigger that fills the area you want the player to be 3rd person in then give the thread a key: setthread and value: 3rd_thread
3rd_thread:
self nottriggerable
setcvar cg_3rd_person 1
while($player istouching self)
waitframe
self triggerable
setcvar cg_3rd_person 0
end
Make a big trigger that fills the area you want the player to be 3rd person in then give the thread a key: setthread and value: 3rd_thread
3rd_thread:
self nottriggerable
setcvar cg_3rd_person 1
while($player istouching self)
waitframe
self triggerable
setcvar cg_3rd_person 0
end
-
omniscient
- Major General
- Posts: 694
- Joined: Tue Sep 16, 2003 12:02 am
-
omniscient
- Major General
- Posts: 694
- Joined: Tue Sep 16, 2003 12:02 am
