Author Topic: Spawn headcrab canister with ulx ent  (Read 1783 times)

0 Members and 2 Guests are viewing this topic.

Offline end360

  • Newbie
  • *
  • Posts: 5
  • Karma: 0
Spawn headcrab canister with ulx ent
« on: May 03, 2015, 01:06:38 PM »
Does anyone know of a way to spawn a head crab canister using ulx ent. I know if you do "ulx ent env_headcrabcanister spawnflags:8192" It will launch to where it spawns (Which is what i want) But it doesnt because you need to fire a launch input. Is there a way i can have an input run when i type ulx ent?
Wiki page: https://developer.valvesoftware.com/wiki/Env_headcrabcanister

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Spawn headcrab canister with ulx ent
« Reply #1 on: May 06, 2015, 06:55:14 PM »
It's been a long, long time since I've worked with entities at that level. I think there might be an "OnSpawn" output, though, which would do what you need (launch on spawn).
Experiencing God's grace one day at a time.

Offline end360

  • Newbie
  • *
  • Posts: 5
  • Karma: 0
Re: Spawn headcrab canister with ulx ent
« Reply #2 on: July 29, 2015, 08:50:29 PM »
That doesnt seem to work when i type "ulx ent env_headcrabcanister OnSpawn:!self,FireCanister,,0,-1"