Search Results
|
Post |
Author |
Forum |
Replies |
Views |
Posted
[asc]
|
|
|
Thread: Need some script help!
Post: RE: Need some script help!
(02-26-2012, 05:31 PM)Obliviator27 Wrote: By changing the statement to true, it should only happen once.I've got AddEntityCollideCallback("Player", "ScriptArea_5", "StartLookSequence", true, 1);
s... |
|
ammislol |
Development Support
|
18 |
14,245 |
02-26-2012, 05:39 PM |
|
|
Thread: Need some script help!
Post: RE: Need some script help!
(02-26-2012, 04:38 PM)Obliviator27 Wrote: void OnStart()
{
AddEntityCollideCallback("Player", "ScriptArea_5", "StartLookSequence", true, 1);
}
void StartLookSequence(string &in asParent, string ... |
|
ammislol |
Development Support
|
18 |
14,245 |
02-26-2012, 05:22 PM |
|
|
Thread: Need some script help!
Post: RE: Need some script help!
(02-26-2012, 10:29 AM)flamez3 Wrote: EDIT: Was too slow :>
Indeed :/ |
|
ammislol |
Development Support
|
18 |
14,245 |
02-26-2012, 11:43 AM |
|
|
Thread: Need some script help!
Post: RE: Need some script help!
(02-24-2012, 11:45 PM)Obliviator27 Wrote: (02-24-2012, 11:42 PM)ammislol Wrote: (02-24-2012, 11:29 PM)Obliviator27 Wrote: To lock the Camera, put
SetPlayerActive(false); in the StartLookSequenc... |
|
ammislol |
Development Support
|
18 |
14,245 |
02-24-2012, 11:56 PM |
|
|
Thread: Need some script help!
Post: RE: Need some script help!
(02-24-2012, 11:29 PM)Obliviator27 Wrote: To lock the Camera, put
SetPlayerActive(false); in the StartLookSequence function, and then
I messed up on the timers. Where it says
AddTimer("LookTimee4"... |
|
ammislol |
Development Support
|
18 |
14,245 |
02-24-2012, 11:42 PM |
|
|
Thread: Need some script help!
Post: RE: Need some script help!
(02-24-2012, 10:12 PM)Obliviator27 Wrote: (02-24-2012, 09:53 PM)Obliviator27 Wrote: Code:void OnStart()
{
AddEntityCollideCallback("Player", "ScriptArea_5", "StartLookSequence", true, ... |
|
ammislol |
Development Support
|
18 |
14,245 |
02-24-2012, 10:19 PM |
|
|
Thread: Need some script help!
Post: RE: Need some script help!
(02-24-2012, 09:53 PM)Obliviator27 Wrote: Code:void OnStart()
{
AddEntityCollideCallback("Player", "LookArea", "StartLookSequence", true, 1);
}
void StartLookSequence(string &in asPa... |
|
ammislol |
Development Support
|
18 |
14,245 |
02-24-2012, 09:57 PM |
|
|
Thread: Need some script help!
Post: RE: Need some script help!
(02-24-2012, 09:09 PM)Obliviator27 Wrote: Combine LookAtCallbacks with Timers as well as SetEntityActive and SHowEnemyPlayerPosition.Anyway you could help me with the script? or is it to much mate? ... |
|
ammislol |
Development Support
|
18 |
14,245 |
02-24-2012, 09:43 PM |
|
|
Thread: Need some script help!
Post: RE: Need some script help!
|
ammislol |
Development Support
|
18 |
14,245 |
02-24-2012, 08:47 PM |
|
|
Thread: Need some script help!
Post: Need some script help!
Hello, I've been trying to fix this - but getting nowhere
I want a script that makes the player look in 4 different directions when he pass a area.
to the left, to the right and backwards. And when ... |
|
ammislol |
Development Support
|
18 |
14,245 |
02-24-2012, 04:43 PM |
|
|
Thread: Unexpected end of file
Post: RE: Unexpected end of file
(02-22-2012, 08:03 PM)palistov Wrote: You need to close your braces in your func_slam functionOh i found it, thank you |
|
ammislol |
Development Support
|
2 |
2,837 |
02-22-2012, 08:06 PM |
|
|
Thread: Unexpected end of file
Post: Unexpected end of file
Hello. When I try to open my custom map i get an error telling me Unexpected end of file. I have 2 maps and i have no problem opening the other. And the script looks pretty much the same.
The script l... |
|
ammislol |
Development Support
|
2 |
2,837 |
02-22-2012, 07:53 PM |
|
|
Thread: Can anyone tell me whats wrong?
Post: RE: Can anyone tell me whats wrong?
(02-21-2012, 09:35 PM)junkfood2121 Wrote: PHP Code:void OnStart(){AddEntityCollideCallback("Player", "ScriptArea_15", "ActivateMonster1", false, 0);}void OnEnter(){}voi... |
|
ammislol |
Development Support
|
4 |
3,932 |
02-21-2012, 09:37 PM |
|
|
Thread: Can anyone tell me whats wrong?
Post: RE: Can anyone tell me whats wrong?
(02-21-2012, 09:28 PM)Your Computer Wrote: It looks like you forgot to put "void" before OnLeave, and it also seems that you forgot to close or end something. However, i can't say for sure until you... |
|
ammislol |
Development Support
|
4 |
3,932 |
02-21-2012, 09:31 PM |
|
|
Thread: Can anyone tell me whats wrong?
Post: Can anyone tell me whats wrong?
Have i forgotten something?
I have a Level door, that takes me to my other map. But every time i try to enter the door i get this error. |
|
ammislol |
Development Support
|
4 |
3,932 |
02-21-2012, 09:26 PM |
|
|
Thread: Waterlurker problems.
Post: RE: Waterlurker problems.
(02-21-2012, 04:54 PM)flamez3 Wrote: You can just make him active when you enter the certain area. Make a ScriptArea around the whole place and in the use this: (replace names to what your names are... |
|
ammislol |
Development Support
|
2 |
2,598 |
02-21-2012, 05:03 PM |
|
|
Thread: Waterlurker problems.
Post: Waterlurker problems.
Hello.
I have a water room, with a waterlurker in it. In the room i have a key, and when i pick up the key - the waterlurker gets active. but if i leave this area i can still hear him (and the panic... |
|
ammislol |
Development Support
|
2 |
2,598 |
02-21-2012, 04:42 PM |
|
|
Thread: Yet another script question
Post: RE: Yet another script question
(02-18-2012, 10:46 PM)Obliviator27 Wrote: He should automatically deactivate if he is at the end of his path, and is nowhere near or detecting the player. As I said, worst case scenario is you force... |
|
ammislol |
Development Support
|
4 |
4,689 |
02-18-2012, 11:12 PM |
|
|
Thread: Yet another script question
Post: RE: Yet another script question
(02-18-2012, 10:39 PM)Obliviator27 Wrote: In your EntityInteractCallback, have SetEntityActive, then AddEnemyPatrolNode to the pathnode at the end of the path. He'll automatically follow pathnodes t... |
|
ammislol |
Development Support
|
4 |
4,689 |
02-18-2012, 10:44 PM |
|
|
Thread: Yet another script question
Post: Yet another script question
Hey again! I've got one more question..
I have a monster that will activate when the player picks up a key - I want the monster to follow the pathnodeareas I've put out. And then disappear when he can... |
|
ammislol |
Development Support
|
4 |
4,689 |
02-18-2012, 10:29 PM |