[Help] Spawning Rocket (TF2)
I want to spawn a rocket to fly in a direction and explode on contact, dealing damage.
already have location and velocity for the entity. My code at this point does not spawn any entity: PHP Code:
|
Re: [Help] Spawning Rocket (TF2)
PHP Code:
|
Re: [Help] Spawning Rocket (TF2)
returned this on compile:
/groups/sourcemod/upload_tmp/text1YVjOK.sp(160) : error 017: undefined symbol "tf_projectile_rocket" /groups/sourcemod/upload_tmp/text1YVjOK.sp(162) : error 017: undefined symbol "tf_projectile_rocket" /groups/sourcemod/upload_tmp/text1YVjOK.sp(163) : error 017: undefined symbol "tf_projectile_rocket" /groups/sourcemod/upload_tmp/text1YVjOK.sp(164) : error 017: undefined symbol "tf_projectile_rocket" PHP Code:
|
Re: [Help] Spawning Rocket (TF2)
"tf_projectile_rocket", not tf_projectile_rocket
|
Re: [Help] Spawning Rocket (TF2)
PHP Code:
PHP Code:
|
Re: [Help] Spawning Rocket (TF2)
just do:
Code:
SetEntProp(rocket_entity, Prop_Send, "m_iTeamNum", 2); |
Re: [Help] Spawning Rocket (TF2)
Quote:
|
Re: [Help] Spawning Rocket (TF2)
"tf_projectile_rocket" isn't the name of the
|
Re: [Help] Spawning Rocket (TF2)
Quote:
|
Re: [Help] Spawning Rocket (TF2)
Quote:
|
All times are GMT -4. The time now is 17:28. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.