Ok heres my problem...
My scripts are not working anymore and its not that the scripts have an error or something because I tested the same script with a different trigger and it still didnt work.
I know the script I tested with works because well it works with the trigger i created before all this happend and now it doesnt =[
Does anyone know why my scripts arent working please help?
My scripts dont work anymore =[ Help?
Moderator: Core Staff
My scripts dont work anymore =[ Help?
Join my server @ 217.163.22.223:28960
-
- Core Staff
- Posts: 2030
- Joined: July 24th, 2006, 11:21 am
- Location: Cramped in a small cubicle/making another jump map
Re: My scripts dont work anymore =[ Help?
We can't help you if you don't provide any additional info other than 'suddenly stopped working'. Were you modifying your map .gsc? Renaming triggers? Did you remember to actually make a trigger, not just texture a brush with the 'trigger' texture?
Drofder2004: Drofder's rules for reviewing a map
[...]
#5 If your name is Rezil, minimum 5/5.
---
<LT>YosemiteSam[NL]:
I heard somewhere that the best way to start is juggling 2 balls with one hand, so you will get a feel for it.
[...]
#5 If your name is Rezil, minimum 5/5.
---
<LT>YosemiteSam[NL]:
I heard somewhere that the best way to start is juggling 2 balls with one hand, so you will get a feel for it.
Re: My scripts dont work anymore =[ Help?
Well thats what happend soo...Rezil wrote:We can't help you if you don't provide any additional info other than 'suddenly stopped working'. Were you modifying your map .gsc? Renaming triggers? Did you remember to actually make a trigger, not just texture a brush with the 'trigger' texture?
But i have the trigger set up with trigger_use_touch ,
I have the target set to "move" and targetname "bounce_trig" ,
I have the origion and brush targetname "move" and count set to "90" ,
I have "maps\mp\_bounce_trigger::main();" In my mp_lawless_v2.gsc.
I know you dont have to have the targetname "move" but its just easier to remember.
I have everything set up the way my working one is just with different names.
Heres the script
Code: Select all
main()
{
thread self_closing_doors();
}
self_closing_doors()
{
doors = getentarray("bounce_trig","targetname");
for(i=0; i<doors.size; i++)
{
doors[i] thread door_think();
}
}
door_think()
{
self.doormoving = false;
self.doormodel = getent(self.target, "targetname");
while(1)
{
self waittill("trigger");
if(!self.doormoving)
{
self thread door_move();
}
}
}
door_move()
{
self maps\mp\_utility::triggerOff();
self.doormoving = true;
self.doormodel rotateyaw(self.count, 2, 0.5, 0.5);
self.doormodel waittill("rotatedone");
wait (60);
self.doormodel rotateyaw((self.count * -1), 2, 0.5, 0.5);
self.doormodel waittill("rotatedone");
self maps\mp\_utility::triggerOn();
self.doormoving = false;
}
Join my server @ 217.163.22.223:28960
Who is online
Users browsing this forum: No registered users and 5 guests