Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help Self Trigger How?
#1
How do I make a trigger that only work on the player? like self trigger I dont know something like that.

Reply

#2
elaborate on what you mean..
Reply

#3
(07-28-2011, 01:21)koil Wrote: elaborate on what you mean..

self.pickUpTrigger SetTeamForTrigger( player.pers["team"] );
thats for team I want that but for the player
(07-28-2011, 01:53)Scripts18 Wrote:
(07-28-2011, 01:21)koil Wrote: elaborate on what you mean..

self.pickUpTrigger SetTeamForTrigger( player.pers["team"] );
thats for team I want that but for the player

SetTeamForTrigger( player.pers["team"] );
what do I need to change it to?
Reply

#4
I will bump until somebody helps me Dodgy
Reply

#5
Will make new rule that prohibits bumping within 24h Heart
Reply

#6
(07-28-2011, 14:17)SuperNovaAO Wrote: Will make new rule that prohibits bumping within 24h Heart

Heart u too.... come on, I just want some help, when we ask for a 3rd person thing every one answer but once it get a bit more advanced, boom everyone disappears, is it that hard to try to help a bit? I mean if somebody asked me help for something I'd try at least to help

line 1720 in _weaponobjects.gsc
I need to change the SetTeamForTrigger to something else
self.pickupTrigger is the owner_pickup
check few lines down
Reply

#7
You have to give people time to respond. A cycle of the earth that will allow anyone from the world to look at your thread at an appropriate time is 24h because it happens that that is also almost the exact time it takes for the earth to spin around its axis once.

Now back to topic and wait.
Reply

#8
Maybe you could do something like (if the player has a special class and a function for himself) Do a player.is.able.to.pickup = 1
And try to make a function something like
Code:
If  ((player.pers["team"] ) && player.is.able.to.pickup = 1)
    //Trigger stuff thingy here
Or something like this ? Smile
Reply

#9
(07-28-2011, 15:17)prisma Wrote: Maybe you could do something like (if the player has a special class and a function for himself) Do a player.is.able.to.pickup = 1
And try to make a function something like
Code:
If  ((player.pers["team"] ) && player.is.able.to.pickup = 1)
    //Trigger stuff thingy here
Or something like this ? Smile

player.is.able.to.pickup does that acutally exist?
Reply

#10
No, but you can define it somehow, don't ask me how, just saw it on some mods Smile
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  Help Wait until a player exits the trigger Rendflex 1 2,434 10-13-2011, 18:02
Last Post: iAegle
  [Tutorial] Trigger Radius, Pingplayer and Ambient Sounds Yamato 0 3,084 07-27-2011, 18:15
Last Post: Yamato

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2024 Melroy van den Berg.