| 04-11-2004, 02:01 AM | #1 |
Heres the basic rundown of the problem I'm having, I'm trying to make a trigger so that when type something like "-view150" it will set the Camera Height to 150, but its not that simple, I want it to (and i know it can be done cause ive seen it b4) be able to set the camera view to anything from like 100-700. . . any thoughts? Please just say so if you need me to clarify anything. |
| 04-11-2004, 11:21 AM | #2 |
Event: Player - Player 1(red) types a chat message containing -view as a Substring repeat that so event has every player in it Condition: (Real((Substring((Entered chat string), 7, 9)))) Greater than or equal to 150.00 (Real((Substring((Entered chat string), 7, 9)))) Less than or equal to 700.00 Action: Camera - Set (Triggering Player)'s camera Height Offset(is this what you want?) to (Real((Substring((Entered chat string), 7, 9)))) over 0.00 seconds |
| 04-11-2004, 07:53 PM | #3 | |
Quote:
I can get everything else to work except for this part I think, my Condition always ends up looking like this: (Real((Integer((Substring((Entered chat string), 7, 9)))))) Greater than or equal to 1.00 That red part is where I think there may be a potential problem. . . any thoughts? |
| 04-11-2004, 08:13 PM | #4 |
Thanks, I got the trigger working. You've been a big help, thanks to you I've actually set up a couple other triggers using this format =D |
| 04-11-2004, 09:26 PM | #5 |
No problem. |
