Team Spartan Cookies & Milk Forums
Release Xenars Wire e2 Cap Targeter - Printable Version

+- Team Spartan Cookies & Milk Forums (https://teamscm.co.uk)
+-- Forum: Garry's Mod (https://teamscm.co.uk/forum-4.html)
+--- Forum: Expression 2 (https://teamscm.co.uk/forum-6.html)
+--- Thread: Release Xenars Wire e2 Cap Targeter (/thread-62.html)



Xenars Wire e2 Cap Targeter - Xenar - 30-10-2013

This is my first wire e2 as i am new to wire e2.
@name Xenars weaponry target system 1.0
@inputs
@outputs PlayerVector:vector Player:entity
@persist ToSayConfusedtring

interval(1000)
runOnChat(1)

if(chatClk(owner()))
{
Msg = owner():lastSaid():explode(" ")
if(Msg[1,string]=="Targeter")
{

if(Msg[2,string]=="Active"){
IrisOut=1
}

if(Msg[2,string]=="Fire")
{

}
}
}
Owner = owner()
LastSaid = lastSaid()
Entity = entity()

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

if(SConfusedtring(1)=="Target"){
hideChat(0)
if(SConfusedtring(2)!=""){
TempPlayer = findPlayerByName(SConfusedtring(2))
if(TempPlayer:isPlayer()){
Player = TempPlayer
}}else{Player=noentity()}
}
PlayerVector = Player:pos()

Atm lines 9-24 are useless but will be used for Fire and Active commands in 2.0.
How to link:
Vector->playervector
Entity-> player

Also soon to be EPG screen. will use 2 screens the first screen is playerlist (max 10 players on list) and second will have Fire Activate and Power levels going to the weapon


RE: Xenars Wire e2 Cap Targeter - ashleyb58 - 30-10-2013

Can't wait for V2 with the EGP screen, sounds great. Will definitely be using V2!


RE: Xenars Wire e2 Cap Targeter - Xenar - 30-10-2013

I hope i can make v2 soon but with school and taking care of my horses and dogs and cats i dont have a lot of time to play.

Also any epg design/color suggestions would be nice