i want it to be something along the lines of this:
Code: Select all
thread the_Thread:
while(1)
{
if ($trigger_01 isDown) // Is isDown even a statement?
{
level.floor_circ = 2
}
waitframe
}
endModerator: Moderators
Code: Select all
thread the_Thread:
while(1)
{
if ($trigger_01 isDown) // Is isDown even a statement?
{
level.floor_circ = 2
}
waitframe
}
endCode: Select all
theThreadName:
while(1)
? ?{
? ? ? if (local.player hasHit $trigger01) // my question is what do i need to replace hasHit with to see if the player hit the trigger
? ? ? ? ?{
? ? ? ? ? ? iprintln "You hit the trigger"
? ? ? ? ?}
? ? ? waitframe
? ?}
end
Code: Select all
thethreadname:
iprintln "A player has hit the trigger."
end