Thanks in advance
human activated regions
Moderator: Moderators
- Lorul1
- Rebel Colonel

- Posts: 562
- Joined: Wed Apr 24, 2013 10:34 pm
- Projects :: Assault on Theed
- xbox live or psn: No gamertag set
- Location: Your House
human activated regions
I have a region that plays an animation but both AI and humans can activate it. I would like to know if there is anything I can add to my script to make only humans activate it, and i would also like to know if it will work in multiplier mode.
Thanks in advance
Thanks in advance
-
LRKfm946
- Master Sergeant

- Posts: 163
- Joined: Sun Feb 02, 2014 6:13 pm
- Projects :: Battlefront II Hunger Games
- Contact:
Re: human activated regions
Use IsCharacterHuman:
Code: Select all
RegionTrigger = OnEnterRegion(
function(region, character)
if IsCharacterHuman(character) then
--Your code here
end
end,
"region_name")