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

Register

Team Spartan Cookies & Milk Forums Garry's Mod Help and Support v
« Previous 1 … 14 15 16 17 18 … 21 Next »
Detecting ships
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Linear Mode
Detecting ships
29-06-2015, 06:04 PM, (This post was last modified: 29-06-2015, 06:07 PM by Nova Viper Dwagon.)
#2
Nova Viper Dwagon Away
The Pink Furball
****
Posts: 348
Threads: 36
Joined: Sep 2013
RE: Detecting ships
Ah I have an E2 that finds players core, here ill paste it

Just type !target "player name" for exsample !target nova, and it will target me, my core and my core pos for old weapons, Just real simple nothing too fancy
===========================================================
@name Simple Targeting Computer
@inputs
@outputs Core:entity CoreVec:vector Player:entity
@persist
@trigger

runOnChat(1)

interval(250)

S = owner():lastSaid():lower():explode(" ")

if(SConfusedtring(1)=="!target"){Core = noentity(),findClearBlackList(),findClearWhiteList()
if(SConfusedtring(2)!=""){
TempPlayer = findPlayerByName(SConfusedtring(2))
if(TempPlayer:isPlayer()){
Player = TempPlayer}}

findIncludePlayerProps(Player)
findByClass("ship_core")
Core = find()

}

if(SConfusedtring(1)=="!clear"){Player = noentity(), Core = noentity()}

CoreVec = Core:pos()
Find
Reply
« Next Oldest | Next Newest »


Messages In This Thread
Detecting ships - by [HUN-BA]levente20000 - 29-06-2015, 05:50 PM
RE: Detecting ships - by Nova Viper Dwagon - 29-06-2015, 06:04 PM
RE: Detecting ships - by [HUN-BA]levente20000 - 29-06-2015, 06:08 PM
RE: Detecting ships - by Grizzle Bizzle - 29-06-2015, 06:16 PM
RE: Detecting ships - by Nova Viper Dwagon - 29-06-2015, 06:40 PM
RE: Detecting ships - by LocInt - 29-06-2015, 06:47 PM
RE: Detecting ships - by Nova Viper Dwagon - 29-06-2015, 07:47 PM
RE: Detecting ships - by [HUN-BA]levente20000 - 29-06-2015, 06:37 PM

  • 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.