ULX

Author Topic: ulx ent multiple params  (Read 3317 times)

0 Members and 1 Guest are viewing this topic.

Offline PAL-18

  • Full Member
  • ***
  • Posts: 142
  • Karma: 1
ulx ent multiple params
« on: May 31, 2013, 07:24:22 PM »
Im trying to spawn an entity with multiple parameters.  I know the parameters are correct because i copy/pasted them from the entity file of a map.

In the gui, it says i can seperate multiple fags with ;  but when i try adding more than one flag with that seperator, the entity isin't added.

Any idea whats happening?

Here's what im trying to add:

prop_vehicle_airboat
model:models\airboat.mdl;EnableGun:1

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: ulx ent multiple params
« Reply #1 on: May 31, 2013, 08:14:29 PM »
Keys and values are separated by ':', everything else is separated by spaces. No mention of semicolons is made in the help.

Example:
Code: [Select]
ulx ent npc_metropolice manhacks:10 additionalequipment:weapon_stunstick
Experiencing God's grace one day at a time.

Offline PAL-18

  • Full Member
  • ***
  • Posts: 142
  • Karma: 1
Re: ulx ent multiple params
« Reply #2 on: June 01, 2013, 12:13:02 AM »
Ah, my shitty eyesight thought it was a semi colon and i thought it meant that it can be used to set new arguments. Also, there's no mention of spaces on the gui: