am i got 1 question for ya that im looking for it -.-''
is there any trigger or what to just look at the door and doors open?
trigger help
Moderator: Core Staff
trigger help
__________________________________________________________
THE MAPPER
__________________________________________________________
THE MAPPER
__________________________________________________________
-
- Core Staff
- Posts: 2030
- Joined: July 24th, 2006, 11:21 am
- Location: Cramped in a small cubicle/making another jump map
Re: trigger help
Code: Select all
main()
{
thread look();
}
look()
{
trig = getent("NAME_OF_TRIG_TO_LOOK_AT","targetname");
trig_range = getent("NAME_OF_AREA_FROM_WHICH_YOU_LOOK_AT","targetname");
while(1)
{
trig_range waittill("trigger", player);
if((player islookingat(trig)) && (player istouching(trig_range)))
{
//Do stuff here
}
wait 0.1;
}
}
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.
Who is online
Users browsing this forum: No registered users and 4 guests