Team Spartan Cookies & Milk Forums
  • Issue Tracker
  • Donations
  • Search
  • Member List
  • Help

Register

Team Spartan Cookies & Milk Forums Garry's Mod Expression 2 v
« Previous 1 … 4 5 6 7 8 Next »
Faction Control for a AI
Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Linear Mode
Faction Control for a AI
22-12-2013, 03:26 PM,
#1
TheOneAndOnlyTee Offline
GMod Admin
Posts: 755
Threads: 47
Joined: Oct 2013
Faction Control for a AI
this is an e2 example for chat controlled faction sharing botSay()

@name the new faction code
@inputs
@outputs
@persist
@trigger
Chat = lastSpoke():lastSaid():lower()
Ofaction = owner():getFaction()
Pfaction = lastSpoke():getFaction()
if(Pfaction == Ofaction){
ListenTo = lastSpoke()
}

if you use if(chatClk(owner())) or something replace owner with ListenTo

Steam Profile
My Discord Server
Need help with E2 or SF? , just ask me and i'll try to help.
[Image: 98Dkcoz.gif]
Find
Reply
« Next Oldest | Next Newest »


Messages In This Thread
Faction Control for a AI - by TheOneAndOnlyTee - 22-12-2013, 03:26 PM
RE: Faction Control for a AI - by busterbeej332 - 22-12-2013, 03:29 PM
RE: Faction Control for a AI - by Access - 26-12-2013, 11:59 AM

  • View a Printable Version
Forum Jump:


Users browsing this thread: 1 Guest(s)
Contact UsTeam Spartan Cookies & MilkReturn to TopLite (Archive) ModeMark all forums readRSS Syndication

Powered By MyBB, © 2002-2026 MyBB Group.