Spawning working entities in NS -solved
i want to spawn a armory in ns that works, but i cant seem to get it right.
i have this Code:
it spawns it but it isnt solid and it dosent do anything but sit there. Any ideas? |
I had this problem too, when I tried changing a hostage model in CS.
I fixed it by calling DispatchSpawn(id). Code:
|
DispatchSpawn(ent); made it solid but it still isnt functioning. it just sits there, cant be built and cant be used. Im wondering if there is a command that allows the ent to be used?
|
try to set EV_FL_fuser1
it is the status to define if its already build or inbuilt 1000.0 = built everything below = building it also set EV_INT_sequence to something bigger 0 and EV_INT_solid set to 2 maybe it helps |
still no luck, its there and solid but not usable. you would think there would be an easy, its built into the game.
|
this answer comes from the plugin combat buildings by #endgame at modns
http://www.modns.org/forums/index.php?showtopic=1345 Code:
this will spawn a working armory for what ever team the user is on. the code is probable a bit rough for use with NS classic, it came from a combat plugin. |
| All times are GMT -4. The time now is 16:48. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.